mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 07:48:38 +09:00
[Pale-Moon] remove duplicated code hunk, fix js error
This commit is contained in:
parent
1a735116d0
commit
cbe1b44079
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;
|
||||
},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue