summaryrefslogtreecommitdiff
path: root/js/index.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2014-04-20 15:23:34 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2016-08-15 19:46:53 +0200
commitbc6440f6c82c34b9533cc9a96b3baa545ec18439 (patch)
tree7cacaea27c6583a0b8365faf90e4c74530295616 /js/index.js
parent5c55aae8300386a82afa9248d49d5d1193385eb3 (diff)
downloadwvs-vplan-bc6440f6c82c34b9533cc9a96b3baa545ec18439.tar.gz
wvs-vplan-bc6440f6c82c34b9533cc9a96b3baa545ec18439.zip
fixe Popup und Fehler beim ersten Start
Diffstat (limited to 'js/index.js')
-rw-r--r--js/index.js3
1 files changed, 1 insertions, 2 deletions
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;