From d8400edb0479c1fc9cfb2e54d8df1ada15388608 Mon Sep 17 00:00:00 2001 From: Abdallah Soliman Date: Fri, 26 Aug 2016 23:05:41 -0500 Subject: [PATCH] added id quitCurrentApp to div.cancel-current --- static/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/index.js b/static/js/index.js index 75c9204..e2bc9d0 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -334,7 +334,7 @@ function showApps() { }); }); - $(".mdl-layout__header-row").append($("
", {html:$(""), class: 'cancel-current'}).append($("", {html: 'Quit Current App', class:"game-title"}))); + $(".mdl-layout__header-row").append($("
", {html:$(""), class: 'cancel-current', id: 'quitCurrentApp'}).append($("", {html: 'Quit Current App', class:"game-title"}))); $('#quitCurrentApp').on('click', function() {api.quitApp(); api.refreshServerInfo(); }); }, function (failedAppList) {