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) {