Merge pull request #7175 from bsuh/fix-twitch-navigation

Fix navigation controller
This commit is contained in:
Cheng Zhao 2016-09-13 16:01:00 +09:00 committed by GitHub
commit df3f0a4516

View file

@ -33,7 +33,7 @@ var NavigationController = (function () {
if (this.inPageIndex > -1 && !inPage) {
// Navigated to a new page, clear in-page mark.
this.inPageIndex = -1
} else if (this.inPageIndex === -1 && inPage) {
} else if (this.inPageIndex === -1 && inPage && !replaceEntry) {
// Started in-page navigations.
this.inPageIndex = this.currentIndex
}