Skip to content

Commit

Permalink
add 'return'
Browse files Browse the repository at this point in the history
	modified:   modules/DOMUtils.js
  • Loading branch information
fenqiu~ authored and mjackson committed Mar 26, 2019
1 parent 465288b commit 8101f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/DOMUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 8101f9f

Please sign in to comment.