diff --git a/WebContent/js/cah.ajax.handlers.js b/WebContent/js/cah.ajax.handlers.js index 99499bb..58e2390 100644 --- a/WebContent/js/cah.ajax.handlers.js +++ b/WebContent/js/cah.ajax.handlers.js @@ -152,8 +152,8 @@ cah.ajax.SuccessHandlers[cah.$.AjaxOperation.JOIN_GAME] = function(data, req) { }; cah.ajax.SuccessHandlers[cah.$.AjaxOperation.SPECTATE_GAME] = function(data, req) { - cah.Game.joinGame(req[cah.$.AjaxRequest.GAME_ID]); - }; + cah.Game.joinGame(req[cah.$.AjaxRequest.GAME_ID]); +}; cah.ajax.SuccessHandlers[cah.$.AjaxOperation.CREATE_GAME] = function(data) { cah.Game.joinGame(data[cah.$.AjaxResponse.GAME_ID]);