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'],
rewriteRules: [
{
match: '/themes/custom/lmmi_journal',
replace: ''
match: '/themes/custom/lmmi_journal/js/',
replace: '/js/'
},
{
match: '/themes/custom/lmmi_journal/css/',
replace: '/css/'
}
]
});

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

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

Loading…
Cancel
Save