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:
parent
cf851074b7
commit
25f5a38499
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ function getFunctionalEventIdleTime() {
|
||||||
return new Date().getTime() - lastFunctionalEvent;
|
return new Date().getTime() - lastFunctionalEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
Events.on(playbackManager, 'playbackstop', function (e, stopInfo) {
|
Events.on(playbackManager, 'playbackstop', function (_e, stopInfo) {
|
||||||
const state = stopInfo.state;
|
const state = stopInfo.state;
|
||||||
if (state.NowPlayingItem && state.NowPlayingItem.MediaType == 'Video') {
|
if (state.NowPlayingItem && state.NowPlayingItem.MediaType == 'Video') {
|
||||||
lastFunctionalEvent = new Date().getTime();
|
lastFunctionalEvent = new Date().getTime();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue