mirror of
https://github.com/He4eT/tabswiper.git
synced 2026-05-05 00:57:23 +00:00
popup/tabswiper: typo
This commit is contained in:
parent
fb942825ff
commit
ffa070f3ae
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ import { enableFaviconFallback, updateInterface } from './modules/dom.js'
|
||||||
const store = tabswiperStore.init({
|
const store = tabswiperStore.init({
|
||||||
tabs: browser.tabs,
|
tabs: browser.tabs,
|
||||||
onStateUpdate: (state) => {
|
onStateUpdate: (state) => {
|
||||||
/* Close popup if there ara no tabs. */
|
/* Close popup if there are no tabs. */
|
||||||
if (state.tabs.length === 0) {
|
if (state.tabs.length === 0) {
|
||||||
window.close()
|
window.close()
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue