Add some comments

This commit is contained in:
Dmitry Lyzo 2020-10-31 12:54:40 +03:00
parent 88b0d6d458
commit 5787069b31
2 changed files with 2 additions and 0 deletions

View File

@ -1342,6 +1342,7 @@ function tryRemoveElement(elem) {
}
});
} else {
// we need to hide scrollbar when starting playback from page with animated background
if (options.fullscreen) {
hidePrePlaybackPage();
}

View File

@ -54,6 +54,7 @@ function createMediaElement(instance, options) {
}
});
} else {
// we need to hide scrollbar when starting playback from page with animated background
if (options.fullscreen) {
hideScroll();
}