Skip to content

Commit 100e3a7

Browse files
committed
fix Closing Customising gives error toast (fix #79)
1 parent 64f6f08 commit 100e3a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,8 @@ function customApp(app) {
900900
refreshMyApps();
901901
refreshLibrary();
902902
}).catch(err => {
903-
showToast("Customise failed, "+err, "error");
903+
if (err !== "Window closed")
904+
showToast("Customise failed, "+err, "error");
904905
refreshMyApps();
905906
refreshLibrary();
906907
});

0 commit comments

Comments
 (0)