progress availability check added
This commit is contained in:
parent
c1c5b35091
commit
8658830fc5
|
@ -65,6 +65,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
function updateProgress(slide_number) {
|
function updateProgress(slide_number) {
|
||||||
|
if (!progress) return;
|
||||||
progress.style.width = (100 / (slideList.length - 1) * normalizeSlideNumber(slide_number)).toFixed(2) + '%';
|
progress.style.width = (100 / (slideList.length - 1) * normalizeSlideNumber(slide_number)).toFixed(2) + '%';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue