Browse Source

Fixed build error

Tobias Reich 9 years ago
parent
commit
c7f03baf86
1 changed files with 1 additions and 0 deletions
  1. 1 0
      assets/js/lychee.js

+ 1 - 0
assets/js/lychee.js

@@ -124,6 +124,7 @@ var lychee = {
 
 				// Use 'try' to catch a thrown error when Safari is in private mode
 				try { localStorage.setItem("lychee_username", user); }
+				catch (err) {}
 
 				window.location.reload();