mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
This commit is contained in:
commit
33ea7f3a39
4 changed files with 28 additions and 16 deletions
|
@ -226,16 +226,17 @@
|
|||
volumeSlider.slider('refresh');
|
||||
|
||||
if (!isPositionSliderActive) {
|
||||
|
||||
if (state.canSeek) {
|
||||
|
||||
var pct = state.positionTicks / state.runtimeTicks;
|
||||
pct *= 100;
|
||||
|
||||
positionSlider.val(pct).prop('disabled', '');
|
||||
positionSlider.val(pct).slider("enable");
|
||||
|
||||
} else {
|
||||
|
||||
positionSlider.val(0).prop('disabled', 'disabled');
|
||||
positionSlider.val(0).slider("disable");
|
||||
}
|
||||
|
||||
positionSlider.slider('refresh');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue