From dd78ceda1bbe23d67a96ed0726356cb1985e72f3 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Mon, 6 Apr 2015 18:49:16 +0200 Subject: [PATCH] Don't refresh albums when get password canceled by user --- src/scripts/password.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/password.js b/src/scripts/password.js index 247c39f..33776d0 100644 --- a/src/scripts/password.js +++ b/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 = `