From bd6f5f28fe6b0e3f38a17be4efe2b3def4cef5e3 Mon Sep 17 00:00:00 2001 From: "R. Aidan Campbell" Date: Fri, 26 Aug 2016 15:10:55 -0400 Subject: [PATCH] fixed bug where app couldn't quit --- 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 30ead53..71568d4 100644 --- a/static/js/utils.js +++ b/static/js/utils.js @@ -359,7 +359,7 @@ NvHTTP.prototype = { quitApp: function () { return sendMessage('openUrl', [this._baseUrlHttps + '/cancel?' + this._buildUidStr(), false]).then(function () { this.currentGame = 0; - }); + }.bind(this)); }, pair: function(randomNumber) {