mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fixed linting errors
This commit is contained in:
parent
1042121668
commit
329af3f54d
1 changed files with 2 additions and 2 deletions
|
@ -247,8 +247,8 @@ import connectionManager from 'connectionManager';
|
|||
let item = playbackManager.getPlayerState(playbackManager.getCurrentPlayer()).NowPlayingItem;
|
||||
// Convert to ms
|
||||
let duration = parseInt(item.RunTimeTicks ? (item.RunTimeTicks / 10000) : 0);
|
||||
let wantedTime = object.seekTime*1000;
|
||||
playbackManager.seekPercent(wantedTime/duration*100,currentPlayer);
|
||||
let wantedTime = object.seekTime * 1000;
|
||||
playbackManager.seekPercent(wantedTime / duration * 100, currentPlayer);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue