Skip to content

Commit dd2862e

Browse files
committed
Fixed bug in the enablePopstateListener() method in the Horizon app
1 parent cfecec4 commit dd2862e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ui/javascript/app/Horizon.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -453,9 +453,7 @@ javaxt.express.app.Horizon = function(parent, config) {
453453
window.addEventListener('popstate', popstateListener);
454454

455455
//Set initial history. This is critical for the popstate listener
456-
if (window.history.state==null){
457-
history.replaceState({}, null, '');
458-
}
456+
history.replaceState({}, null, '');
459457
};
460458

461459

0 commit comments

Comments
 (0)