From bc6440f6c82c34b9533cc9a96b3baa545ec18439 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 20 Apr 2014 15:23:34 +0200 Subject: fixe Popup und Fehler beim ersten Start --- index.html | 2 +- js/index.js | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index ccb08a9..3ab5377 100644 --- a/index.html +++ b/index.html @@ -60,7 +60,7 @@ - +
Bitte logge dich ein!
diff --git a/js/index.js b/js/index.js index 3c52d87..7af8fe4 100644 --- a/js/index.js +++ b/js/index.js @@ -21,7 +21,6 @@ $(document).bind('pageinit', function(){ setTimeout(function(){ load(); - $('#lnklogin').click(); }, 1000); setTimeout(function(){ @@ -270,7 +269,7 @@ function getuserdata(){ function login(){ userdata = getuserdata(); - if(userdata != null){ + if(userdata){ sendlogin(userdata[0], userdata[1]); $('#loginpopup').popup('close'); return 1; -- cgit v1.3.1