Browse Source

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

Fix navigation controller
Cheng Zhao 8 years ago
parent
commit
df3f0a4516
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/browser/api/navigation-controller.js

+ 1 - 1
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
       }