diff --git a/frontend/src/lib/storage-manager/storage-manager.js b/frontend/src/lib/storage-manager/storage-manager.js index c44c8710f..7c91d6a77 100644 --- a/frontend/src/lib/storage-manager/storage-manager.js +++ b/frontend/src/lib/storage-manager/storage-manager.js @@ -360,7 +360,6 @@ export class StorageManager { addHistoryListener(listener, options=this._options, ...args) { const modified_listener = (function(event, ...listener_args) { // eslint-disable-line no-unused-vars - alert('Event:' + JSON.stringify(event)); //possible solution: popstate event does not have a state if(event.state === null) @@ -479,10 +478,10 @@ export class StorageManager { }).catch(console.error); } - //_debugLog() {} - _debugLog(fName, ...args) { - console.log(`[DEBUGLOG] StorageManager.${fName}`, { args: args, instance: this }); - } + _debugLog() {} + //_debugLog(fName, ...args) { + // console.log(`[DEBUGLOG] StorageManager.${fName}`, { args: args, instance: this }); + //} } diff --git a/frontend/src/utils/async-table/async-table.js b/frontend/src/utils/async-table/async-table.js index 3dbaad95e..93d3bcf99 100644 --- a/frontend/src/utils/async-table/async-table.js +++ b/frontend/src/utils/async-table/async-table.js @@ -125,7 +125,7 @@ export class AsyncTable { const historyUrl = historyState ? historyState['currentTableUrl'] : this._historyStorage.load('currentTableUrl'); this._debugLog('_historyListener', historyState, windowUrl, historyUrl); - if (this._isEquivalentUrl(windowUrl, historyUrl)) + if (this._isEquivalentUrl(windowUrl, historyUrl || document.location.href)) return; this._debugLog('_historyListener', historyUrl);