mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-10-23 08:40:34 +00:00
progress commit for prettier app cancel button
This commit is contained in:
1 parent
b2df44719c
commit
36367f69c3
3 files changed
+24
-4
No files matched your search
+2
-3
@@ -327,11 +327,10 @@ function showApps() {
|
||||
console.log('Error! Failed to retrieve box art for app ID: ' + app.id + '. Returned value was: ' + failedPromise)
|
||||
console.log('failed API object: ');
|
||||
console.log(api.toString());
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
$("#game-grid").append($("<div>", {html:$("<img src=icons\\icon48.png id=quitCurrentApp\>"), class: 'box-art mdl-cell mdl-cell--3-col'}).append($("<span>", {html: 'Quit Current App', class:"game-title"})));
|
||||
$("#game-grid").append($("<div>", {html:$("<img src=static\\res\\ic_remove_circle_white_24px.svg id=quitCurrentApp\>"), class: 'cancel-cell mdl-cell mdl-cell--3-col'}).append($("<span>", {html: 'Quit Current App', class:"game-title"})));
|
||||
$('#quitCurrentApp').on('click', function() {api.quitApp(); api.refreshServerInfo(); });
|
||||
|
||||
}, function (failedAppList) {
|
||||
|
||||
Reference in new issue
Block a user