chore: changed comment.

This commit is contained in:
Sarah Vaupel 2021-06-10 16:07:24 +00:00 committed by Gregor Kleen
parent d6bbbec629
commit 8bb554cd60

View File

@ -360,7 +360,7 @@ export class StorageManager {
addHistoryListener(listener, options=this._options, ...args) {
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)
return;