feat: restore "unread" tab Attribute
This commit is contained in:
committed by
Alex Kontos
parent
a626bdb343
commit
c83e186cfb
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user