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
2016-10-18 01:06:48 -04:00

20 lines
No EOL
438 B
JavaScript

define(['inputManager'], function (inputManager) {
'use strict';
function disableDisplayMirror() {
return function () {
inputManager.trigger('disabledisplaymirror');
};
}
return function (result) {
switch (result.item.deviceid) {
case 'displaymirroring':
return disableDisplayMirror();
default:
return;
}
};
});