Bug 687754 - Don't remove unread in preview mode. r=dao

This commit is contained in:
Len 2011-10-08 10:34:20 +02:00
parent 8e9865b871
commit 4924756ffa

View File

@ -876,7 +876,6 @@
(window.windowState != window.STATE_MINIMIZED);
this.mCurrentBrowser = newBrowser;
this.mCurrentTab = this.selectedTab;
this.mCurrentTab.removeAttribute("unread");
this.showTab(this.mCurrentTab);
if (updatePageReport)
@ -909,8 +908,9 @@
true, false);
}
// Don't switch the fast find or update the titlebar (bug 540248) - this tab switch is temporary
if (!this._previewMode) {
this.mCurrentTab.removeAttribute("unread");
#ifdef MOZ_E10S_COMPAT
// Bug 666816 - TypeAheadFind support for e10s
#else