popup/tabswiper: typo

This commit is contained in:
He4eT 2023-09-28 17:27:59 +03:00
commit ffa070f3ae

View file

@ -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