Fixed build error

This commit is contained in:
Tobias Reich 2014-10-09 18:56:27 +02:00
parent 2d7ad24834
commit c7f03baf86

View File

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