diff options
author | PeterTheOne <petertheone@gmail.com> | 2018-02-28 10:23:25 +0100 |
---|---|---|
committer | PeterTheOne <petertheone@gmail.com> | 2018-02-28 10:23:25 +0100 |
commit | 61dca6e973d74c9ceff1455b57dea3d88f065ef9 (patch) | |
tree | 94d27330d574c1c4a3f3199e51132b0ec007aa6f /contrib/site/js | |
parent | fix contronls position (diff) |
fix mute click
Diffstat (limited to 'contrib/site/js')
-rw-r--r-- | contrib/site/js/player.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/site/js/player.js b/contrib/site/js/player.js index 2ecf9f7..a9cb236 100644 --- a/contrib/site/js/player.js +++ b/contrib/site/js/player.js @@ -56,7 +56,7 @@ function Player() { }; this.togglemute = function() { - this.media.muted = !this.audio.muted; + this.media.muted = !this.media.muted; $('#player-volume').prop('disabled', this.media.muted); this.repaintVolumeControls(); }; |