mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
voice fixes
This commit is contained in:
parent
0ccf565956
commit
9a4a0e78a9
11 changed files with 231 additions and 175 deletions
|
@ -1,14 +1,20 @@
|
|||
define(['inputManager'], function (inputManager) {
|
||||
|
||||
function toggleDisplayMirror() {
|
||||
return function () {
|
||||
inputManager.trigger('toggledisplaymirror');
|
||||
};
|
||||
}
|
||||
|
||||
return function (result) {
|
||||
result.success = true;
|
||||
|
||||
switch (result.item.deviceid) {
|
||||
case 'displaymirroring':
|
||||
inputManager.trigger('toggledisplaymirror');
|
||||
return toggleDisplayMirror();
|
||||
break;
|
||||
default:
|
||||
result.success = false;
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue