Apply suggestions from code review

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
imchasingshadows 2021-09-16 19:19:21 +02:00 committed by GitHub
parent 118f9e1920
commit 5a50783f06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1386,8 +1386,8 @@ function tryRemoveElement(elem) {
return videoElement;
});
} else {
// we need to hide scrollbar when starting playback from page with animated background
if (options.fullscreen) {
// we need to hide scrollbar when starting playback from page with animated background
document.body.classList.add('hide-scroll');
// Enter fullscreen in the webOS browser to hide the top bar