Merge branch 'f0ckdev' into 'master'
js fehler figsen See merge request !28
This commit is contained in:
commit
c67b7daf65
|
@ -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");
|
||||
if(x) {
|
||||
x.volume = 0.3;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user