Fixing bug where options window won't close in some cases.
This commit is contained in:
@@ -254,6 +254,11 @@ Alpine.data('options', () => ({
|
||||
}
|
||||
},
|
||||
|
||||
async closeOptions() {
|
||||
const tab = await browser.tabs.getCurrent();
|
||||
await browser.tabs.remove(tab.id);
|
||||
},
|
||||
|
||||
// Properties
|
||||
|
||||
get recommendedRelays() {
|
||||
|
||||
Reference in New Issue
Block a user