From 3e5bff1251c21a48dfb37b63af4e416c93dbf21b Mon Sep 17 00:00:00 2001 From: rdrew Date: Fri, 16 Oct 2020 09:26:05 -0300 Subject: [PATCH] fixed toc js --- js/js.js | 24 ++++++++++++------------ src/js/js.js | 24 ++++++++++++------------ 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/js/js.js b/js/js.js index 7b22dd2..078bf50 100644 --- a/js/js.js +++ b/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) { diff --git a/src/js/js.js b/src/js/js.js index 7b22dd2..078bf50 100644 --- a/src/js/js.js +++ b/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) {