We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9cbdaf5 commit 5c07376Copy full SHA for 5c07376
js/background.js
@@ -551,6 +551,8 @@ var spaces = (() => {
551
spacesPopupWindowId,
552
{ populate: true },
553
spacesWindow => {
554
+ if (!spacesWindow) return;
555
+
556
// remove popup from history
557
if (
558
spacesWindow.tabs.length > 0 &&
@@ -760,7 +762,10 @@ var spaces = (() => {
760
762
if (curSessionTab.pinned) {
761
763
let pinnedTabId = false;
764
newWindow.tabs.some(curNewTab => {
- if (curNewTab.url === curSessionTab.url) {
765
+ if (
766
+ curNewTab.url === curSessionTab.url ||
767
+ curNewTab.pendingUrl === curSessionTab.url
768
+ ) {
769
pinnedTabId = curNewTab.id;
770
return true;
771
}
0 commit comments