diff --git a/lib/browser/api/navigation-controller.js b/lib/browser/api/navigation-controller.js index f0b1cef9bb38..33ce779521fa 100644 --- a/lib/browser/api/navigation-controller.js +++ b/lib/browser/api/navigation-controller.js @@ -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 }