A bit of python crept into the javascript

This commit is contained in:
Jonathan Corwin 2010-09-02 22:24:44 +01:00
parent 6b2b7c2f1e
commit 8be66a0e6f

View File

@ -142,10 +142,10 @@ body {
document.getElementById('black').style.display = black;
document.getElementById('lyricsmain').style.visibility = lyrics;
outline = document.getElementById('lyricsoutline')
if(outline)
if(outline!=null)
outline.style.visibility = lyrics;
shadow = document.getElementById('lyricsshadow')
if(shadow)
if(shadow!=null)
shadow.style.visibility = lyrics;
document.getElementById('footer').style.visibility = lyrics;
var vid = document.getElementById('video');