File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ export const mainSlice = createSlice({
50
50
const currSnapshot = tabs [ currentTab ] . snapshots [ tabs [ currentTab ] . currLocation . index ] ; // current snapshot
51
51
const currAxSnapshot = tabs [ currentTab ] . axSnapshots [ tabs [ currentTab ] . currLocation . index ] ; // current accessibility tree snapshot
52
52
53
- tabs [ currentTab ] . hierarchy . stateSnapshot = { ...currSnapshot } ; // resets hierarchy to page current snapshot
53
+ tabs [ currentTab ] . hierarchy . stateSnapshot = { ...currSnapshot } ; // resets hierarchy to current snapshot
54
54
tabs [ currentTab ] . hierarchy . axSnapshot = { ...currAxSnapshot } ; // resets hierarchy to current accessibility tree snapshot
55
55
tabs [ currentTab ] . hierarchy . children = [ ] ; // resets hierarchy
56
56
tabs [ currentTab ] . snapshots = [ currSnapshot ] ; // resets snapshots to current snapshot
Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ chrome.runtime.onConnect.addListener((port) => {
368
368
tabsObj [ tabId ] . axSnapshots = [
369
369
tabsObj [ tabId ] . axSnapshots [ tabsObj [ tabId ] . currLocation . index ] ,
370
370
] ; // resets axSnapshots to current page state
371
- tabsObj [ tabId ] . hierarchy . axSnapshot = tabsObj [ tabId ] . axSnapshots [ 0 ] ; // resets hierarchy to ax tree of current page state
371
+ tabsObj [ tabId ] . hierarchy . axSnapshot = tabsObj [ tabId ] . axSnapshots [ 0 ] ; // resets hierarchy to accessibility tree of current page state
372
372
tabsObj [ tabId ] . index = 1 ; //reset index
373
373
tabsObj [ tabId ] . currParent = 0 ; // reset currParent
374
374
tabsObj [ tabId ] . currBranch = 1 ; // reset currBranch
You can’t perform that action at this time.
0 commit comments