X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2FResources%2Fstatic%2Fthemes%2Fbaggy%2Fjs%2Fshortcuts%2Fmain.js;h=43ebf3be891e799408cf719845906e59a111be52;hb=64f81bc31699ed239e4becec1cfa7ebc0bef2b5a;hp=aed09aeeec943c4a1f1017a1f66dbede0c8537aa;hpb=3b4502e0e663866e7bac00164fd935fdc92309d6;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/Resources/static/themes/baggy/js/shortcuts/main.js b/app/Resources/static/themes/baggy/js/shortcuts/main.js index aed09aee..43ebf3be 100644 --- a/app/Resources/static/themes/baggy/js/shortcuts/main.js +++ b/app/Resources/static/themes/baggy/js/shortcuts/main.js @@ -1,3 +1,6 @@ +import $ from 'jquery'; +import Mousetrap from 'mousetrap'; + $(document).ready(() => { Mousetrap.bind('s', () => { $('#search').trigger('click');