Commit 723ff739 authored by Vadim Makeev's avatar Vadim Makeev

minor fixes for progress bar

parent 994f9844
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
} }
function updateProgress() { function updateProgress() {
if(!progress) return;
progress.style.width = (100/(slideList.length-1) * hashList[url.hash]).toFixed(2) + '%'; progress.style.width = (100/(slideList.length-1) * hashList[url.hash]).toFixed(2) + '%';
} }
......
...@@ -324,7 +324,7 @@ A { ...@@ -324,7 +324,7 @@ A {
z-index:1; z-index:1;
float:left; float:left;
height:0.2em; height:0.2em;
background:#CCC; background:#EEE;
} }
.progress DIV { .progress DIV {
width:0; width:0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment