From 1ade83b5ae6be317222362b01248b8463ecf0132 Mon Sep 17 00:00:00 2001 From: noxy Date: Thu, 2 Feb 2017 17:12:24 +0000 Subject: [PATCH] Update plyr.js --- s/plyr.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/s/plyr.js b/s/plyr.js index cd6f6b6..d3555f9 100644 --- a/s/plyr.js +++ b/s/plyr.js @@ -2622,8 +2622,8 @@ //window.clearTimeout(timers.hover); // If the mouse is not over the controls, set a timeout to hide them - //if (show || plyr.media.paused || loading) { - // _toggleClass(plyr.container, config.classes.hideControls, false); + if (show || plyr.media.paused || loading) { + _toggleClass(plyr.container, config.classes.hideControls, false); // Always show controls when paused or if touch if (plyr.media.paused || loading) { @@ -2645,7 +2645,7 @@ return; } - _toggleClass(plyr.container, config.classes.hideControls, true); + _toggleClass(plyr.container, config.classes.hideControls, false); }, delay); } }