Bug javascript
This commit is contained in:
parent
94928f98cd
commit
5dc3b15fe6
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user