Skip to content

Commit

Permalink
Focus Kee Vault tab's window when user requests it from popup
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyrat committed Jul 3, 2020
1 parent 828b406 commit 645c4a5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions popup/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ export default {
});
if (vaultTabs && vaultTabs[0]) {
browser.tabs.update(vaultTabs[0].id, { active: true });
browser.windows.update(vaultTabs[0].windowId, { focused: true });
} else {
browser.tabs.create({
url: "https://keevault.pm/",
Expand Down

0 comments on commit 645c4a5

Please sign in to comment.