diff --git a/modules/DOMUtils.js b/modules/DOMUtils.js index 11084159b..95c3a6ea6 100644 --- a/modules/DOMUtils.js +++ b/modules/DOMUtils.js @@ -50,5 +50,5 @@ export function supportsGoWithoutReloadUsingHash() { * containing undefined state when pressing the back button. */ export function isExtraneousPopstateEvent(event) { - event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1; + return event.state === undefined && navigator.userAgent.indexOf('CriOS') === -1; }