From 6e9de371d74cc64b2eb313a6a4b601436d752869 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 28 Oct 2016 14:02:05 -0700 Subject: [PATCH] Fix exception when stopping a game --- static/js/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/utils.js b/static/js/utils.js index 96b250a..badd9f3 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -444,7 +444,7 @@ NvHTTP.prototype = { // Refresh server info after quitting because it may silently fail if the // session belongs to a different client. // TODO: We should probably bubble this up to our caller. - .then(refreshServerInfo().bind(this)); + .then(this.refreshServerInfo()); }, pair: function(randomNumber) {