From 34ede416e419c69fd23e29ea2dbbb2e7ff208767 Mon Sep 17 00:00:00 2001 From: Gregg Tavares Date: Fri, 19 Sep 2014 16:22:05 -0700 Subject: [PATCH] fix typo in showavailablegames --- public/scripts/showavailablegames.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/scripts/showavailablegames.js b/public/scripts/showavailablegames.js index 82daccfb..26aa437a 100644 --- a/public/scripts/showavailablegames.js +++ b/public/scripts/showavailablegames.js @@ -110,6 +110,7 @@ requirejs( }); var quitGame = function(gameId) { + console.log("sending quitGame: " + gameId); client.sendCmd('quitGame', {gameId: gameId}); }; @@ -195,7 +196,7 @@ requirejs( var launch = function(element, runtimeInfo) { client.sendCmd('launch', {gameId: runtimeInfo.info.happyFunTimes.gameId}); }; - var quit = function(element, runtmeInfo) { + var quit = function(element, runtimeInfo) { quitGame(runtimeInfo.info.happyFunTimes.gameId); };