diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-10-23 11:09:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-23 11:09:17 +0200 |
commit | 1953a872932a63792293b4aec087880265ba89f7 (patch) | |
tree | fd16599e737fcdaf193c933ef3ec4a4ee248b117 /app/Resources/static/themes/material/js/shortcuts/main.js | |
parent | d83d25dadec2c38460a32d96f5d2903426fec9d3 (diff) | |
parent | 702f2d67d60ca963492b90dad74cb5f8dcc84e51 (diff) | |
download | wallabag-1953a872932a63792293b4aec087880265ba89f7.tar.gz wallabag-1953a872932a63792293b4aec087880265ba89f7.tar.zst wallabag-1953a872932a63792293b4aec087880265ba89f7.zip |
Merge pull request #3011 from wallabag/2.3
wallabag 2.3.0
Diffstat (limited to 'app/Resources/static/themes/material/js/shortcuts/main.js')
-rw-r--r-- | app/Resources/static/themes/material/js/shortcuts/main.js | 10 |
1 files changed, 10 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..042b423c 100644 --- a/app/Resources/static/themes/material/js/shortcuts/main.js +++ b/app/Resources/static/themes/material/js/shortcuts/main.js | |||
@@ -23,6 +23,16 @@ $(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 | |||
31 | /* Show nothing on login/register page */ | ||
32 | if ($('#username').length > 0 || $('#fos_user_registration_form_username').length > 0) { | ||
33 | return; | ||
34 | } | ||
35 | |||
26 | /* Focus current card */ | 36 | /* Focus current card */ |
27 | toggleFocus(card); | 37 | toggleFocus(card); |
28 | 38 | ||