diff options
author | Thomas Citharel <tcit@tcit.fr> | 2017-05-04 14:56:52 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2017-05-04 14:56:52 +0200 |
commit | 18e1da6277c4a5759384cfa66e0cd00afd7ce763 (patch) | |
tree | 845bf11f6aa41604e2e2cd5aaab4fb37566b6d20 /app/Resources/static/themes | |
parent | 4cea76b0cf02622c11144360e6f438af7ccbb94b (diff) | |
download | wallabag-18e1da6277c4a5759384cfa66e0cd00afd7ce763.tar.gz wallabag-18e1da6277c4a5759384cfa66e0cd00afd7ce763.tar.zst wallabag-18e1da6277c4a5759384cfa66e0cd00afd7ce763.zip |
rebase
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'app/Resources/static/themes')
-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 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(() => { | |||
28 | return; | 28 | return; |
29 | } | 29 | } |
30 | 30 | ||
31 | /* Show nothing on login/register page */ | ||
32 | if ($('#username').length > 0 || $('#fos_user_registration_form_username').length > 0) { | ||
33 | return; | ||
34 | } | ||
35 | |||
31 | /* Focus current card */ | 36 | /* Focus current card */ |
32 | toggleFocus(card); | 37 | toggleFocus(card); |
33 | 38 | ||