We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d4bba5 commit 72ae712Copy full SHA for 72ae712
src/extension/background.js
@@ -273,6 +273,7 @@ chrome.runtime.onConnect.addListener((port) => {
273
tabsObj[tabId].axSnapshots =
274
tabsObj[tabId].axSnapshots[tabsObj[tabId].axSnapshots.length - 1];
275
tabsObj[tabId].hierarchy.axSnapshot = tabsObj[tabId].axSnapshots[0]; //what about other hierarchy properties? Shouldn't those be reset as well?
276
+ // other hierarchy properties do not have to be set because you maintain the root history node
277
tabsObj[tabId].currLocation = tabsObj[tabId].hierarchy; // resets currLocation to page last state recorded
278
tabsObj[tabId].index = 1; //reset index
279
tabsObj[tabId].currParent = 0; // reset currParent
0 commit comments