Skip to content

Commit b4564da

Browse files
committed
lint in navigator
1 parent e0c86c6 commit b4564da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

js/navigation/navigator.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ define([ "jquery", "../events/navigate", "./path", "./history" ], function( $ )
180180
// If there is no state, and the history stack length is one were
181181
// probably getting the page load popstate fired by browsers like chrome
182182
// avoid it and set the one time flag to false
183-
if( !event.originalEvent.state
184-
&& this.history.stack.length == 1
185-
&& this.ignoreInitialHashChange ) {
183+
if( !event.originalEvent.state &&
184+
this.history.stack.length === 1 &&
185+
this.ignoreInitialHashChange ) {
186186
this.ignoreInitialHashChange = false;
187187

188188
return;

0 commit comments

Comments
 (0)