From d1d5a93fd6bd34a6e8ce5054f1f39a2dd236134b Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Thu, 17 Mar 2016 09:18:13 +0100 Subject: [PATCH] Removed empty value attr from login dialog --- src/scripts/lychee.js | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/src/scripts/lychee.js b/src/scripts/lychee.js index 30aca55..649529f 100644 --- a/src/scripts/lychee.js +++ b/src/scripts/lychee.js @@ -116,8 +116,8 @@ lychee.loginDialog = function() { let msg = lychee.html`

- - + +

Lychee $${ lychee.version }Update available!

` @@ -136,14 +136,6 @@ lychee.loginDialog = function() { } }) - if (localStorage) { - let localUsername = localStorage.getItem('lychee_username') - if (localUsername!=null && localUsername.length>0) { - $('.basicModal input[name="username"]').val(localUsername) - $('.basicModal input[name="password"]').focus() - } - } - if (lychee.checkForUpdates==='1') lychee.getUpdate() }