mirror of
https://github.com/zen-browser/desktop
synced 2026-04-26 01:25:02 +02:00
feat: Live folders, p=#11921
Co-authored-by: Slowlife01 <slowlife1165@gmail.com> Co-authored-by: mr. m <91018726+mr-cheffy@users.noreply.github.com> Co-authored-by: reizumi <reizumichan@protonmail.com>
This commit is contained in:
@@ -758,6 +758,15 @@ class nsZenPinnedTabManager extends nsZenDOMOperatedFeature {
|
||||
|
||||
pinHasChangedUrl(tab) {
|
||||
if (tab.hasAttribute("zen-pinned-changed")) {
|
||||
const showSublabel = tab.hasAttribute("zen-show-sublabel");
|
||||
if (showSublabel) {
|
||||
tab.removeAttribute("zen-show-sublabel");
|
||||
|
||||
const label = tab.querySelector(".zen-tab-sublabel");
|
||||
window.document.l10n.setArgs(label, {
|
||||
tabSubtitle: "zen-default-pinned",
|
||||
});
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (tab.group?.hasAttribute("split-view-group")) {
|
||||
|
||||
Reference in New Issue
Block a user