1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/voice/commands/togglecommands.js
Luke Pulverenti aece94029c update voice
2016-07-06 14:39:04 -04:00

14 lines
No EOL
353 B
JavaScript

define([], function () {
return function (result) {
result.success = true;
switch (result.item.deviceid) {
case 'displaymirroring':
MediaController.toggleDisplayMirroring();
break;
default:
result.success = false;
return;
}
}
});