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);