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

Make all fullscreen dialogs hide scrollbar

This commit is contained in:
Dmitry Lyzo 2020-09-26 21:16:34 +03:00
parent 4e5ba66fb6
commit b973a5eace
2 changed files with 4 additions and 8 deletions

View file

@ -490,8 +490,6 @@ export default function (options) {
inputManager.off(window, onInputCommand);
/* eslint-disable-next-line compat/compat */
document.removeEventListener((window.PointerEvent ? 'pointermove' : 'mousemove'), onPointerMove);
// Shows page scrollbar
document.body.classList.remove('hide-scroll');
}
/**
@ -655,8 +653,6 @@ export default function (options) {
*/
self.show = function () {
createElements(options);
// Hides page scrollbar
document.body.classList.add('hide-scroll');
};
/**