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

24
src/js/js.js

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

Loading…
Cancel
Save