Faster back when album empty
This commit is contained in:
parent
47afc5c74b
commit
5acc5760da
@ -58,6 +58,7 @@ albums = {
|
|||||||
durationTime = (new Date().getTime() - startTime);
|
durationTime = (new Date().getTime() - startTime);
|
||||||
if (durationTime>300) waitTime = 0; else waitTime = 300 - durationTime;
|
if (durationTime>300) waitTime = 0; else waitTime = 300 - durationTime;
|
||||||
if (!visible.albums()&&!visible.photo()&&!visible.album()) waitTime = 0;
|
if (!visible.albums()&&!visible.photo()&&!visible.album()) waitTime = 0;
|
||||||
|
if (visible.album()&&lychee.content.html()==="") waitTime = 0;
|
||||||
|
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user