Browse Source

Don't refresh albums when get password canceled by user

Tobias Reich 9 years ago
parent
commit
dd78ceda1b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/scripts/password.js

+ 1 - 1
src/scripts/password.js

@@ -63,7 +63,7 @@ password.getDialog = function(albumID, callback) {
 
 	cancel = function() {
 		basicModal.close();
-		lychee.goto();
+		if (visible.albums()===false) lychee.goto();
 	}
 
 	msg =	`