Commit 8658830f authored by Vadim Makeev's avatar Vadim Makeev

progress availability check added

parent c1c5b350
......@@ -65,6 +65,7 @@
}
function updateProgress(slide_number) {
if (!progress) return;
progress.style.width = (100 / (slideList.length - 1) * normalizeSlideNumber(slide_number)).toFixed(2) + '%';
}
......
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