Browse Source

fixed toc js

dependabot/npm_and_yarn/ini-1.3.7
rdrew 4 years ago
parent
commit
7c5aa07810
  1. 7
      js/js.js
  2. 7
      src/js/js.js

7
js/js.js

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

7
src/js/js.js

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

Loading…
Cancel
Save