X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2FResources%2Fstatic%2Fthemes%2Fmaterial%2Fjs%2Fshortcuts%2Fmain.js;h=042b423c0e129cc23e7138d2e530fd5c94104882;hb=0eb8220204953b874ebd2dbd0362973f3f45074c;hp=41499478cf4288b73716283a77038eb2acab5199;hpb=9c09c253fea8d618f1be110677a1a9c76e3afdcd;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);