Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Commit

Permalink
Merge pull request #15022 from brave/deleteDidDetach
Browse files Browse the repository at this point in the history
delete did-detach block accidentally brought back in #14734
  • Loading branch information
petemill committed Aug 15, 2018
1 parent c1d1fe9 commit c209fbd
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/browser/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -718,16 +718,6 @@ const api = {
}
})

tab.on('did-detach', (e, oldTabId) => {
// forget last active trail in window tab
// is detaching from
const oldTab = getTabValue(oldTabId)
const detachedFromWindowId = oldTab ? oldTab.get('windowId') : undefined
if (detachedFromWindowId != null) {
activeTabHistory.clearTabFromWindow(detachedFromWindowId, oldTabId)
}
})

tab.on('did-attach', (e, tabId) => {
// tab has been attached to a webview
})
Expand Down

0 comments on commit c209fbd

Please sign in to comment.