feat: restore "unread" tab Attribute

This commit is contained in:
goodusername123
2024-10-13 03:26:27 -05:00
committed by Alex Kontos
parent a626bdb343
commit c83e186cfb

View File

@@ -1303,6 +1303,7 @@
if (!this._previewMode) {
newTab.recordTimeFromUnloadToReload();
newTab.updateLastAccessed();
newTab.removeAttribute("unread");
oldTab.updateLastAccessed();
// if this is the foreground window, update the last-seen timestamps.
if (this.ownerGlobal == BrowserWindowTracker.getTopWindow()) {
@@ -8133,6 +8134,9 @@
this.mTab.setAttribute("bursting", "true");
}
if (!this.mTab.selected)
this.mTab.setAttribute("unread", "true");
}
if (this.mTab.hasAttribute("progress")) {