From f155e9c69579117d2ebd026f3f5373a20d37102a Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sat, 10 Jan 2015 18:42:52 +0100 Subject: [PATCH] Fixed logout --- src/scripts/lychee.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/scripts/lychee.js b/src/scripts/lychee.js index 4349ccf..702da25 100644 --- a/src/scripts/lychee.js +++ b/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(); + }); }