From 5a50783f06ab452874b1ddbf4a6d2e381213bf6c Mon Sep 17 00:00:00 2001 From: imchasingshadows Date: Thu, 16 Sep 2021 19:19:21 +0200 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com> --- src/plugins/htmlVideoPlayer/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index d95cfccf69..611240be3e 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -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