From 61dca6e973d74c9ceff1455b57dea3d88f065ef9 Mon Sep 17 00:00:00 2001 From: PeterTheOne Date: Wed, 28 Feb 2018 10:23:25 +0100 Subject: fix mute click --- contrib/site/js/player.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/site/js') 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(); }; -- cgit v1.2.3