mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 16:47:29 +09:00
[Pale-Moon] remove duplicated code hunk, fix js error
This commit is contained in:
parent
2da1f51f91
commit
4f18ae9e69
1 changed files with 0 additions and 9 deletions
|
|
@ -225,15 +225,6 @@ var ctrlTab = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
let hidePinnedTabs = gPrefService.getBoolPref("browser.ctrlTab.hidePinnedTabs");
|
|
||||||
if (hidePinnedTabs) {
|
|
||||||
regularTabsList = list.filter(function (tab) !tab.pinned);
|
|
||||||
// Don't hide pinned tabs if we only have 1 regular tab
|
|
||||||
if (regularTabsList.length > 1) {
|
|
||||||
list = regularTabsList;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return this._tabList = list;
|
return this._tabList = list;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue