Bug javascript

This commit is contained in:
nyanloutre 2017-07-19 17:01:30 +02:00
parent 94928f98cd
commit 5dc3b15fe6
Signed by: nyanloutre
GPG Key ID: F85D93686A3A9063

View File

@ -205,7 +205,7 @@
var masthead_video = document.getElementById("masthead-video"); var masthead_video = document.getElementById("masthead-video");
var video_button = document.getElementById("video-sound"); var video_button = document.getElementById("video-sound");
masthead_video_mute(mute) { function masthead_video_mute(mute) {
masthead_video.muted = mute; masthead_video.muted = mute;
if (mute) { if (mute) {
video_button.children[0].children[0].setAttribute("xlink:href", "/vector/sprite.svg#sound-off"); video_button.children[0].children[0].setAttribute("xlink:href", "/vector/sprite.svg#sound-off");