diff options
Diffstat (limited to 'app/Resources/static')
-rw-r--r-- | app/Resources/static/themes/material/js/shortcuts/main.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/Resources/static/themes/material/js/shortcuts/main.js b/app/Resources/static/themes/material/js/shortcuts/main.js index 0a2d2a69..41499478 100644 --- a/app/Resources/static/themes/material/js/shortcuts/main.js +++ b/app/Resources/static/themes/material/js/shortcuts/main.js | |||
@@ -23,6 +23,11 @@ $(document).ready(() => { | |||
23 | return; | 23 | return; |
24 | } | 24 | } |
25 | 25 | ||
26 | /* Show nothing on login/register page */ | ||
27 | if ($('#username').length > 0 || $('#fos_user_registration_form_username').length > 0) { | ||
28 | return; | ||
29 | } | ||
30 | |||
26 | /* Focus current card */ | 31 | /* Focus current card */ |
27 | toggleFocus(card); | 32 | toggleFocus(card); |
28 | 33 | ||