fix mobile logon page

This commit is contained in:
2014-06-16 12:50:24 +02:00
parent 04470285bc
commit dd6dfe81c2
3 changed files with 17 additions and 25 deletions

3
jquery/databap.js vendored
View File

@@ -64,7 +64,8 @@ function Databap()
$(window).bind('hashchange', self.onHashChange);
//Init first page
if(self.hash()=='') self.goToInternalLink(self.consts.default_hash, self.consts.default_id); //Fix for old links
if(self.hash()=='logout') self.goToInternalLink(self.vars.page_to_hash['welcome']);
else if(self.hash()=='') self.goToInternalLink(self.consts.default_hash, self.consts.default_id); //Fix for old links
else self.onHashChange();
//Load cache