Commit 21d034bf authored by Hakim El Hattab's avatar Hakim El Hattab
Browse files

reveal container size determines progress bar width

parent 0e0a4ec6
......@@ -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';
}
......
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