Disabled shortcuts on login/register page

This commit is contained in:
Nicolas Lœuillet 2017-05-02 16:21:06 +02:00
parent e1d64050ad
commit a40029f9d6
No known key found for this signature in database
GPG key ID: BDC1EFB5CA0145F2
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