Return permanent scrollbar (killed by refactoring)
This commit is contained in:
parent
388b33a6b4
commit
d644193441
3 changed files with 7 additions and 7 deletions
|
@ -107,7 +107,7 @@ function tryRemoveElement(elem) {
|
|||
const animatedPage = document.querySelector('.page:not(.hide)');
|
||||
animatedPage.classList.add('hide');
|
||||
// At this point, we must hide the scrollbar placeholder, so it's not being displayed while the item is being loaded
|
||||
document.body.classList.remove('force-scroll');
|
||||
document.body.classList.add('hide-scroll');
|
||||
}
|
||||
|
||||
function zoomIn(elem) {
|
||||
|
@ -679,6 +679,7 @@ function tryRemoveElement(elem) {
|
|||
destroyFlvPlayer(this);
|
||||
|
||||
appRouter.setTransparency('none');
|
||||
document.body.classList.remove('hide-scroll');
|
||||
|
||||
const videoElement = this.#mediaElement;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue