Skip to content

Commit

Permalink
Don't merge popup windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fthdgn committed Jun 2, 2020
1 parent 76fde5c commit 196abb9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions background.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ function getAllWindows() {
}

function getTabsOfWindow(window, isPinnedTabsIgnored) {
if (window.type == "popup") {
return []
}
return window.tabs.filter(tab => { return !isPinnedTabsIgnored || !tab.pinned })
}

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
"contextMenus",
"storage"
],
"version": "1.2.0"
"version": "1.2.1"
}

0 comments on commit 196abb9

Please sign in to comment.