Merge branch 'f0ckdev' into 'master'

js fehler figsen

See merge request !28
This commit is contained in:
noxy 2016-11-06 01:35:45 +00:00
commit c67b7daf65

View File

@ -10,8 +10,7 @@
break;
}
}
if(document.readyState == 'complete' || document.readyState ==
'loaded')
if(document.readyState == 'complete' || document.readyState == 'loaded')
document.addEventListener('keydown', arrowKeys);
else {
if(/Chrome/i.test(navigator.userAgent))
@ -23,8 +22,8 @@
document.addEventListener('keydown', arrowKeys);
});
}
var video = document.getElementById('player');
video.volume = 0.3;
var x = document.getElementById("player");
x.volume = 0.3;
if(x) {
x.volume = 0.3;
}