diff --git a/scripts/script.js b/scripts/script.js index 5e3030d..5c3a3b3 100755 --- a/scripts/script.js +++ b/scripts/script.js @@ -62,6 +62,7 @@ } function updateProgress() { + if(!progress) return; progress.style.width = (100/(slideList.length-1) * hashList[url.hash]).toFixed(2) + '%'; } diff --git a/styles/projection.css b/styles/projection.css index 35bb4ff..7fd1fa6 100755 --- a/styles/projection.css +++ b/styles/projection.css @@ -324,7 +324,7 @@ A { z-index:1; float:left; height:0.2em; - background:#CCC; + background:#EEE; } .progress DIV { width:0;