mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Make non-transient message display
This commit is contained in:
parent
06ef1fe94b
commit
581f92ee7c
@ -39,6 +39,9 @@ function handleMessage(msg) {
|
|||||||
$('#loadingMessage').text(msg.data.replace('ProgressMsg: ', ''));
|
$('#loadingMessage').text(msg.data.replace('ProgressMsg: ', ''));
|
||||||
} else if(msg.data.indexOf('TransientMsg: ') === 0) {
|
} else if(msg.data.indexOf('TransientMsg: ') === 0) {
|
||||||
snackbarLog(msg.data.replace('TransientMsg: ', ''));
|
snackbarLog(msg.data.replace('TransientMsg: ', ''));
|
||||||
|
} else if(msg.data.indexOf('DialogMsg: ') === 0) {
|
||||||
|
// FIXME: Really use a dialog
|
||||||
|
snackbarLog(msg.data.replace('DialogMsg: ', ''));
|
||||||
} else if(msg.data === 'displayVideo') {
|
} else if(msg.data === 'displayVideo') {
|
||||||
$("#listener").addClass("fullscreen");
|
$("#listener").addClass("fullscreen");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user