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

Return permanent scrollbar (killed by refactoring)

This commit is contained in:
Dmitry Lyzo 2020-09-03 01:04:21 +03:00
parent 388b33a6b4
commit d644193441
3 changed files with 7 additions and 7 deletions

View file

@ -492,7 +492,6 @@ export default function (options) {
document.removeEventListener((window.PointerEvent ? 'pointermove' : 'mousemove'), onPointerMove);
// Shows page scrollbar
document.body.classList.remove('hide-scroll');
document.body.classList.add('force-scroll');
}
/**
@ -657,7 +656,6 @@ export default function (options) {
self.show = function () {
createElements(options);
// Hides page scrollbar
document.body.classList.remove('force-scroll');
document.body.classList.add('hide-scroll');
};