reveal container size determines progress bar width
This commit is contained in:
parent
0e0a4ec6e6
commit
21d034bffe
@ -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 New Issue
Block a user