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:
parent
4e5ba66fb6
commit
b973a5eace
2 changed files with 4 additions and 8 deletions
|
@ -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');
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue