aboutsummaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-05-02 16:21:06 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2017-05-02 16:21:06 +0200
commita40029f9d6cf8405b6f3e30c8762a4f50da88db5 (patch)
treeedd8231d6620a47b51fae292728fb20fd816ee43 /app
parente1d64050ad6f54e45d3954ffac21daaee58c6240 (diff)
downloadwallabag-a40029f9d6cf8405b6f3e30c8762a4f50da88db5.tar.gz
wallabag-a40029f9d6cf8405b6f3e30c8762a4f50da88db5.tar.zst
wallabag-a40029f9d6cf8405b6f3e30c8762a4f50da88db5.zip
Disabled shortcuts on login/register page
Diffstat (limited to 'app')
-rw-r--r--app/Resources/static/themes/material/js/shortcuts/main.js5
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