Browse Source

fixed toc js

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

24
js/js.js

@ -82,18 +82,18 @@
} }
}; };
Drupal.behaviors.article_collection_copier = { Drupal.behaviors.article_collection_copier = {
- attach: function attach(context, settings) { attach: function attach(context, settings) {
-
- $('.field--name-field-collection').appendTo("#toc-sections ol"); $('.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) {
$('.field--name-field-journal-article-keywords').appendTo("#toc-sections"); $('.field--name-field-journal-article-keywords').appendTo("#toc-sections");
} }
}; };
Drupal.behaviors.slickSliderInit = { Drupal.behaviors.slickSliderInit = {
attach: function attach(context, settings) { attach: function attach(context, settings) {

24
src/js/js.js

@ -82,18 +82,18 @@
} }
}; };
Drupal.behaviors.article_collection_copier = { Drupal.behaviors.article_collection_copier = {
- attach: function attach(context, settings) { attach: function attach(context, settings) {
-
- $('.field--name-field-collection').appendTo("#toc-sections ol"); $('.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) {
$('.field--name-field-journal-article-keywords').appendTo("#toc-sections"); $('.field--name-field-journal-article-keywords').appendTo("#toc-sections");
} }
}; };
Drupal.behaviors.slickSliderInit = { Drupal.behaviors.slickSliderInit = {
attach: function attach(context, settings) { attach: function attach(context, settings) {

Loading…
Cancel
Save