aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/fullscreen.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2018-05-28 10:19:07 +1000
committerSam Potts <sam@potts.es>2018-05-28 10:19:07 +1000
commit90c5735904354f5fde0dcdae9f8894fe9088739c (patch)
treea849f027e24a7e6a3efad45acb4ab192f25b3804 /src/js/fullscreen.js
parentcd51788b980a7bc7b5caaf2d595d2077be4138f5 (diff)
downloadplyr-90c5735904354f5fde0dcdae9f8894fe9088739c.tar.lz
plyr-90c5735904354f5fde0dcdae9f8894fe9088739c.tar.xz
plyr-90c5735904354f5fde0dcdae9f8894fe9088739c.zip
WIP
Diffstat (limited to 'src/js/fullscreen.js')
-rw-r--r--src/js/fullscreen.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/fullscreen.js b/src/js/fullscreen.js
index 000ba706..cc91d1a4 100644
--- a/src/js/fullscreen.js
+++ b/src/js/fullscreen.js
@@ -15,7 +15,7 @@ function onChange() {
// Update toggle button
const button = this.player.elements.buttons.fullscreen;
if (utils.is.element(button)) {
- utils.toggleState(button, this.active);
+ button.pressed = this.active;
}
// Trigger an event