aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--glide/.config/glide/glide.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/glide/.config/glide/glide.ts b/glide/.config/glide/glide.ts
index bb9863c..3212891 100644
--- a/glide/.config/glide/glide.ts
+++ b/glide/.config/glide/glide.ts
@@ -326,8 +326,6 @@ glide.keymaps.set("normal", "<leader>t", async () => {
});
},
async execute({ input: input }) {
-
-
if (entry.title.toLowerCase().includes(input.toLowerCase())) {
const tab = await glide.tabs.get_first({
url: entry.url,
@@ -599,7 +597,10 @@ async function update_status_bar() {
}
try {
- const tabs = await glide.tabs.query({});
+ const current_window = await browser.windows.getCurrent();
+ const tabs = await browser.tabs.query({
+ windowId: current_window.id,
+ });
const active_tab = await glide.tabs.active();
const tab_index = tabs.findIndex(t => t.id == active_tab.id);
const url = active_tab.url;