Faster back when album empty

This commit is contained in:
Tobias Reich 2014-05-12 21:41:32 +02:00
parent 47afc5c74b
commit 5acc5760da
3 changed files with 5 additions and 4 deletions

View File

@ -58,6 +58,7 @@ albums = {
durationTime = (new Date().getTime() - startTime);
if (durationTime>300) waitTime = 0; else waitTime = 300 - durationTime;
if (!visible.albums()&&!visible.photo()&&!visible.album()) waitTime = 0;
if (visible.album()&&lychee.content.html()==="") waitTime = 0;
setTimeout(function() {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long