mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 18:08:58 +00:00
Bug 139242: News: Thread with new messages spontaneously expands; p=Pawel Kaczmarczyk <jacenty@ceti.pl>, r/sr=bienvenu
This commit is contained in:
parent
f87cf04198
commit
20914da270
@ -125,7 +125,8 @@ function SelectAndScrollToKey(aMsgKey)
|
||||
// returns true if we ended up scrolling to a message
|
||||
function ScrollToMessageAfterFolderLoad (folder)
|
||||
{
|
||||
var scrolled = ScrollToMessage(nsMsgNavigationType.firstNew, true, false /* selectMessage */);
|
||||
var scrolled = pref.getBoolPref("mailnews.scroll_to_new_message") &&
|
||||
ScrollToMessage(nsMsgNavigationType.firstNew, true, false /* selectMessage */);
|
||||
if (!scrolled && folder && pref.getBoolPref("mailnews.remember_selected_message"))
|
||||
{
|
||||
// if we failed to scroll to a new message,
|
||||
|
Loading…
Reference in New Issue
Block a user