mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-18 09:06:47 +00:00
added id quitCurrentApp to div.cancel-current
This commit is contained in:
parent
9fe78243f6
commit
d8400edb04
@ -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) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user