chore: changed comment.
This commit is contained in:
parent
d6bbbec629
commit
8bb554cd60
@ -360,7 +360,7 @@ export class StorageManager {
|
|||||||
addHistoryListener(listener, options=this._options, ...args) {
|
addHistoryListener(listener, options=this._options, ...args) {
|
||||||
const modified_listener = (function(event, ...listener_args) { // eslint-disable-line no-unused-vars
|
const modified_listener = (function(event, ...listener_args) { // eslint-disable-line no-unused-vars
|
||||||
|
|
||||||
//possible solution: popstate event does not have a state
|
// do not propagate popstate events with empty state
|
||||||
if(event.state === null)
|
if(event.state === null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user