reveal container size determines progress bar width
This commit is contained in:
parent
0e0a4ec6e6
commit
21d034bffe
1 changed files with 1 additions and 1 deletions
|
@ -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';
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue