From 723ff739f6720d83f47d054b2bbde3f7c5afffea Mon Sep 17 00:00:00 2001 From: Vadim Makeev Date: Tue, 16 Nov 2010 00:39:10 +0300 Subject: [PATCH] minor fixes for progress bar --- scripts/script.js | 1 + styles/projection.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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;