#31 : Reset progress on destroy
This commit is contained in:
@@ -188,6 +188,7 @@
|
||||
currentPageIndex = value.currentPageIndex
|
||||
console.log('currentPageIndex', currentPageIndex)
|
||||
}))
|
||||
cleanupFns.push(() => progressManager.reset())
|
||||
if (pagesElement && pageWindowElement) {
|
||||
// load first and last child to clone them
|
||||
loaded = [0, pagesElement.children.length - 1]
|
||||
|
||||
Reference in New Issue
Block a user