reveal container size determines progress bar width

edit
Hakim El Hattab 2015-01-06 09:32:21 +01:00
parent 0e0a4ec6e6
commit 21d034bffe
1 changed files with 1 additions and 1 deletions

View File

@ -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';
}