mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-27 11:31:05 +00:00
Merge pull request #3075 from wallabag/disable-shortcuts-login
Disabled shortcuts on login/register page
This commit is contained in:
commit
dfa0822f19
2 changed files with 6 additions and 1 deletions
|
@ -23,6 +23,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);
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue