From 573bbd52609c94b073af078b36445335fcb72fcb Mon Sep 17 00:00:00 2001 From: rdrew Date: Thu, 27 Sep 2018 16:11:09 -0300 Subject: [PATCH] . --- gulpfile.js | 8 ++++++-- js/js.js | 6 ++++-- src/js/js.js | 6 ++++-- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index fec9302..07b20e1 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -23,8 +23,12 @@ gulp.task('browser-sync', function() { plugins: ['bs-rewrite-rules'], rewriteRules: [ { - match: '/themes/custom/lmmi_journal', - replace: '' + match: '/themes/custom/lmmi_journal/js/', + replace: '/js/' + }, + { + match: '/themes/custom/lmmi_journal/css/', + replace: '/css/' } ] }); diff --git a/js/js.js b/js/js.js index 382c4af..a36b634 100644 --- a/js/js.js +++ b/js/js.js @@ -3,7 +3,10 @@ Drupal.behaviors.footnote_tooltips = { attach: function attach(context, settings) { //js goes here - $('.menu').remove(); + //$('.menu').remove(); + var footnote_link = $("a[id^='footnote']"); + var footnote_link = $("li[id^='footnote']"); + } }; @@ -44,7 +47,6 @@ - })(jQuery, Drupal); diff --git a/src/js/js.js b/src/js/js.js index 382c4af..a36b634 100644 --- a/src/js/js.js +++ b/src/js/js.js @@ -3,7 +3,10 @@ Drupal.behaviors.footnote_tooltips = { attach: function attach(context, settings) { //js goes here - $('.menu').remove(); + //$('.menu').remove(); + var footnote_link = $("a[id^='footnote']"); + var footnote_link = $("li[id^='footnote']"); + } }; @@ -44,7 +47,6 @@ - })(jQuery, Drupal);