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