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

Fix code smell

This commit is contained in:
Bill Thornton 2022-03-31 16:32:21 -04:00
parent cf851074b7
commit 25f5a38499

View file

@ -18,7 +18,7 @@ function getFunctionalEventIdleTime() {
return new Date().getTime() - lastFunctionalEvent;
}
Events.on(playbackManager, 'playbackstop', function (e, stopInfo) {
Events.on(playbackManager, 'playbackstop', function (_e, stopInfo) {
const state = stopInfo.state;
if (state.NowPlayingItem && state.NowPlayingItem.MediaType == 'Video') {
lastFunctionalEvent = new Date().getTime();