mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-06-18 06:41:11 +00:00
added id quitCurrentApp to div.cancel-current
This commit is contained in:
+1
-1
@@ -334,7 +334,7 @@ function showApps() {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
$(".mdl-layout__header-row").append($("<div>", {html:$("<img src=static\\res\\ic_remove_circle_white_24px.svg id=quitCurrentApp\>"), class: 'cancel-current'}).append($("<span>", {html: 'Quit Current App', class:"game-title"})));
|
$(".mdl-layout__header-row").append($("<div>", {html:$("<img src=static\\res\\ic_remove_circle_white_24px.svg\>"), class: 'cancel-current', id: 'quitCurrentApp'}).append($("<span>", {html: 'Quit Current App', class:"game-title"})));
|
||||||
$('#quitCurrentApp').on('click', function() {api.quitApp(); api.refreshServerInfo(); });
|
$('#quitCurrentApp').on('click', function() {api.quitApp(); api.refreshServerInfo(); });
|
||||||
|
|
||||||
}, function (failedAppList) {
|
}, function (failedAppList) {
|
||||||
|
|||||||
Reference in New Issue
Block a user