mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-04-21 07:30:12 +00:00
Create a function for longer snackbar logs and use it for dialog messages
This commit is contained in:
@@ -41,7 +41,7 @@ function handleMessage(msg) {
|
||||
snackbarLog(msg.data.replace('TransientMsg: ', ''));
|
||||
} else if(msg.data.indexOf('DialogMsg: ') === 0) {
|
||||
// FIXME: Really use a dialog
|
||||
snackbarLog(msg.data.replace('DialogMsg: ', ''));
|
||||
snackbarLogLong(msg.data.replace('DialogMsg: ', ''));
|
||||
} else if(msg.data === 'displayVideo') {
|
||||
$("#listener").addClass("fullscreen");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user