Add comments for future reference

This commit is contained in:
ferferga 2020-05-14 14:18:50 +02:00
parent 6250f5bca8
commit 26267e3827
2 changed files with 4 additions and 0 deletions

View file

@ -109,6 +109,7 @@ define(['browser', 'require', 'events', 'apphost', 'loading', 'dom', 'playbackMa
function hidePrePlaybackPage() {
let 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.getElementsByTagName('body')[0].style = null;
}