Browse Source

.

dependabot/npm_and_yarn/acorn-5.7.4
rdrew 6 years ago
parent
commit
573bbd5260
  1. 8
      gulpfile.js
  2. 6
      js/js.js
  3. 6
      src/js/js.js

8
gulpfile.js

@ -23,8 +23,12 @@ gulp.task('browser-sync', function() {
plugins: ['bs-rewrite-rules'], plugins: ['bs-rewrite-rules'],
rewriteRules: [ rewriteRules: [
{ {
match: '/themes/custom/lmmi_journal', match: '/themes/custom/lmmi_journal/js/',
replace: '' replace: '/js/'
},
{
match: '/themes/custom/lmmi_journal/css/',
replace: '/css/'
} }
] ]
}); });

6
js/js.js

@ -3,7 +3,10 @@
Drupal.behaviors.footnote_tooltips = { Drupal.behaviors.footnote_tooltips = {
attach: function attach(context, settings) { attach: function attach(context, settings) {
//js goes here //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); })(jQuery, Drupal);

6
src/js/js.js

@ -3,7 +3,10 @@
Drupal.behaviors.footnote_tooltips = { Drupal.behaviors.footnote_tooltips = {
attach: function attach(context, settings) { attach: function attach(context, settings) {
//js goes here //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); })(jQuery, Drupal);

Loading…
Cancel
Save