From 35b7988fc55d794a4d6fa466c61b21be176e64d0 Mon Sep 17 00:00:00 2001 From: Chip Black Date: Sun, 6 Mar 2011 20:59:59 -0800 Subject: [PATCH] Log out whether or not the server reports success --- www/js/blerg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/blerg.js b/www/js/blerg.js index b882dd9..b0bc38f 100644 --- a/www/js/blerg.js +++ b/www/js/blerg.js @@ -69,7 +69,7 @@ LoginStatus.prototype.logout = function() { parameters: { username: this.username }, - onSuccess: function(r) { + onComplete: function(r) { this.loggedIn = false; document.cookie = "auth=; expires=1-Jan-1970 00:00:00 GMT"; this.update(); -- 2.25.1