jellyfin-web/dashboard-ui/bower_components/emby-webcomponents/voice/commands/disablecommands.js
2016-07-06 15:25:58 -04:00

15 lines
384 B
JavaScript

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