aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/fullscreen.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2020-01-30 14:23:10 +0000
committerGitHub <noreply@github.com>2020-01-30 14:23:10 +0000
commit9d512911252cf4835c2b7364cb4ae392cb277a1d (patch)
tree5e6dcc7647285e49683f05d8a49187e8078d0d2b /src/js/fullscreen.js
parent44d3a17870949e828e5b1a4619a30dfcb626a174 (diff)
parentb2ac730572ad81aa9755e8b7852c53ceba0e8e9f (diff)
downloadplyr-9d512911252cf4835c2b7364cb4ae392cb277a1d.tar.lz
plyr-9d512911252cf4835c2b7364cb4ae392cb277a1d.tar.xz
plyr-9d512911252cf4835c2b7364cb4ae392cb277a1d.zip
Merge pull request #1663 from sampotts/master
Merge back to beta
Diffstat (limited to 'src/js/fullscreen.js')
-rw-r--r--src/js/fullscreen.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/js/fullscreen.js b/src/js/fullscreen.js
index c86bf877..4de8da88 100644
--- a/src/js/fullscreen.js
+++ b/src/js/fullscreen.js
@@ -4,7 +4,6 @@
// https://webkit.org/blog/7929/designing-websites-for-iphone-x/
// ==========================================================================
-import { repaint } from './utils/animation';
import browser from './utils/browser';
import { hasClass, toggleClass, trapFocus } from './utils/elements';
import { on, triggerEvent } from './utils/events';
@@ -73,9 +72,6 @@ function toggleFallback(toggle = false) {
.filter(part => part.trim() !== property)
.join(',');
}
-
- // Force a repaint as sometimes Safari doesn't want to fill the screen
- setTimeout(() => repaint(this.target), 100);
}
// Toggle button and fire events