Browse Source

fixed toc js

dependabot/npm_and_yarn/ini-1.3.7
rdrew 4 years ago
parent
commit
3e5bff1251
  1. 10
      js/js.js
  2. 10
      src/js/js.js

10
js/js.js

@ -83,11 +83,11 @@
};
Drupal.behaviors.article_collection_copier = {
- attach: function attach(context, settings) {
-
- $('.field--name-field-collection').appendTo("#toc-sections ol");
- }
- };
attach: function attach(context, settings) {
$('.field--name-field-collection').appendTo("#toc-sections ol");
}
};
Drupal.behaviors.article_keyword_copier = {
attach: function attach(context, settings) {

10
src/js/js.js

@ -83,11 +83,11 @@
};
Drupal.behaviors.article_collection_copier = {
- attach: function attach(context, settings) {
-
- $('.field--name-field-collection').appendTo("#toc-sections ol");
- }
- };
attach: function attach(context, settings) {
$('.field--name-field-collection').appendTo("#toc-sections ol");
}
};
Drupal.behaviors.article_keyword_copier = {
attach: function attach(context, settings) {

Loading…
Cancel
Save