aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/listeners.js
diff options
context:
space:
mode:
authorSam Potts <sam@potts.es>2017-11-08 23:46:20 +1100
committerSam Potts <sam@potts.es>2017-11-08 23:46:20 +1100
commitbb66be98da5470e227703c4ebcfcbccba234a992 (patch)
treeb45124f374117ff120acdf47fe15c838c8f9af20 /src/js/listeners.js
parentc948e95adea876c7c43785fe904bedd22f9c307d (diff)
downloadplyr-bb66be98da5470e227703c4ebcfcbccba234a992.tar.lz
plyr-bb66be98da5470e227703c4ebcfcbccba234a992.tar.xz
plyr-bb66be98da5470e227703c4ebcfcbccba234a992.zip
Volume fixes and other tidy up work
Diffstat (limited to 'src/js/listeners.js')
-rw-r--r--src/js/listeners.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/listeners.js b/src/js/listeners.js
index cebfb0fa..31135a38 100644
--- a/src/js/listeners.js
+++ b/src/js/listeners.js
@@ -404,7 +404,7 @@ const listeners = {
// Mute
utils.on(this.elements.buttons.mute, 'click', event =>
proxy(event, 'mute', () => {
- this.muted = 'toggle';
+ this.muted = !this.muted;
})
);