1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2016-07-31 14:39:43 -04:00
parent 862871630a
commit c5ccae28b5
4 changed files with 48 additions and 27 deletions

View file

@ -4,6 +4,12 @@ define(['playbackManager', 'focusManager', 'embyRouter'], function (playbackMana
function notify() {
lastInputTime = new Date().getTime();
handleCommand('unknown');
}
function notifyMouseMove() {
lastInputTime = new Date().getTime();
}
function idleTime() {
@ -47,7 +53,7 @@ define(['playbackManager', 'focusManager', 'embyRouter'], function (playbackMana
function handleCommand(name, options) {
notify();
lastInputTime = new Date().getTime();
var sourceElement = (options ? options.sourceElement : null);
@ -231,6 +237,7 @@ define(['playbackManager', 'focusManager', 'embyRouter'], function (playbackMana
trigger: handleCommand,
handle: handleCommand,
notify: notify,
notifyMouseMove: notifyMouseMove,
idleTime: idleTime,
on: on,
off: off