X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2FResources%2Fstatic%2Fthemes%2Fmaterial%2Fjs%2Fshortcuts%2Fmain.js;h=042b423c0e129cc23e7138d2e530fd5c94104882;hb=1953a872932a63792293b4aec087880265ba89f7;hp=41499478cf4288b73716283a77038eb2acab5199;hpb=dfa0822f197991f96d427112c23abd460198817d;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/Resources/static/themes/material/js/shortcuts/main.js b/app/Resources/static/themes/material/js/shortcuts/main.js index 41499478..042b423c 100644 --- a/app/Resources/static/themes/material/js/shortcuts/main.js +++ b/app/Resources/static/themes/material/js/shortcuts/main.js @@ -28,6 +28,11 @@ $(document).ready(() => { return; } + /* Show nothing on login/register page */ + if ($('#username').length > 0 || $('#fos_user_registration_form_username').length > 0) { + return; + } + /* Focus current card */ toggleFocus(card);