diff --git a/lib/browser/api/navigation-controller.js b/lib/browser/api/navigation-controller.js index bda8474d8932..f0b1cef9bb38 100644 --- a/lib/browser/api/navigation-controller.js +++ b/lib/browser/api/navigation-controller.js @@ -50,7 +50,7 @@ var NavigationController = (function () { this.history = this.history.slice(0, this.currentIndex + 1) currentEntry = this.history[this.currentIndex] - if ((currentEntry != null ? currentEntry : void 0) !== url) { + if (currentEntry !== url) { this.currentIndex++ this.history.push(url) }