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/bower_components/emby-webcomponents/voice/commands/disablecommands.js

15 lines
384 B
JavaScript
Raw Normal View History

2016-07-06 15:25:58 -04:00
define(['inputManager'], function (inputManager) {
2016-02-17 07:58:07 +01:00
return function (result) {
result.success = true;
switch (result.item.deviceid) {
case 'displaymirroring':
2016-07-06 15:25:58 -04:00
inputManager.trigger('disabledisplaymirror');
2016-02-17 07:58:07 +01:00
break;
default:
result.success = false;
return;
}
}
});