Browse Source

Faster back when album empty

Tobias Reich 11 years ago
parent
commit
5acc5760da
3 changed files with 1 additions and 0 deletions
  1. 1 0
      assets/js/albums.js
  2. 0 0
      assets/min/main.css
  3. 0 0
      assets/min/main.js

+ 1 - 0
assets/js/albums.js

@@ -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 it is too large
+ 0 - 0
assets/min/main.css


File diff suppressed because it is too large
+ 0 - 0
assets/min/main.js


Some files were not shown because too many files changed in this diff