summaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 46b92b5..3c2b1c8 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -2323,7 +2323,7 @@
// Update progress if enabled
if( config.progress && dom.progressbar ) {
- dom.progressbar.style.width = getProgress() * window.innerWidth + 'px';
+ dom.progressbar.style.width = getProgress() * dom.wrapper.offsetWidth + 'px';
}