mirror of
https://github.com/He4eT/tabswitcher.git
synced 2026-05-05 01:17:23 +00:00
pages/search: store: closeCurrentTab
This commit is contained in:
parent
dbb7724253
commit
c6f4fda801
4 changed files with 12 additions and 13 deletions
|
|
@ -5,6 +5,7 @@ import * as inputHandlers from './modules/inputHandlers.js'
|
|||
const store = Store.init({
|
||||
tabs: browser.tabs,
|
||||
onStateUpdate: dom.updateSearchResults,
|
||||
closeCurrentTab: () => window.close(),
|
||||
})
|
||||
|
||||
void inputHandlers.attachInputHandlers(store)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue