Browse Source

Fixed logout

Tobias Reich 9 years ago
parent
commit
f155e9c695
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/scripts/lychee.js

+ 3 - 1
src/scripts/lychee.js

@@ -167,7 +167,9 @@ lychee.loginDialog = function() {
 
 lychee.logout = function() {
 
-	lychee.api('logout', window.location.reload);
+	lychee.api('logout', function() {
+		window.location.reload();
+	});
 
 }