Merge pull request #3075 from wallabag/disable-shortcuts-login

Disabled shortcuts on login/register page
This commit is contained in:
Nicolas Lœuillet 2017-05-02 16:59:49 +02:00 committed by GitHub
commit dfa0822f19
2 changed files with 6 additions and 1 deletions

View file

@ -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