mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
Partial fix for music
Same problems as video when on nowplaying.html, all other pages are still behaving as before (when the playback bar is along the bottom).
This commit is contained in:
parent
97ee1d10c6
commit
8a868f9109
@ -186,7 +186,7 @@ define(['require', 'datetime', 'itemHelper', 'events', 'browser', 'imageLoader',
|
||||
volumeSliderContainer.classList.remove('hide');
|
||||
}
|
||||
|
||||
volumeSlider.addEventListener('change', function () {
|
||||
volumeSlider.addEventListener('mousemove', function () {
|
||||
|
||||
if (currentPlayer) {
|
||||
currentPlayer.setVolume(this.value);
|
||||
@ -779,4 +779,4 @@ define(['require', 'datetime', 'itemHelper', 'events', 'browser', 'imageLoader',
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -605,7 +605,7 @@ define(["browser", "datetime", "backdrop", "libraryBrowser", "listView", "imageL
|
||||
return datetime.getDisplayRunningTime(ticks);
|
||||
};
|
||||
|
||||
context.querySelector(".nowPlayingVolumeSlider").addEventListener("change", function () {
|
||||
context.querySelector(".nowPlayingVolumeSlider").addEventListener("mousemove", function () {
|
||||
playbackManager.setVolume(this.value, currentPlayer);
|
||||
});
|
||||
context.querySelector(".buttonMute").addEventListener("click", function () {
|
||||
|
Loading…
Reference in New Issue
Block a user