Fix scroll state restoration when going back to URL with anchor. Bug 204364,

r=jkeiser, sr=dbaron, a=asa
This commit is contained in:
bzbarsky%mit.edu 2003-05-06 05:46:46 +00:00
Родитель 834c47e912
Коммит 48c50e8f7c
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -4119,7 +4119,9 @@ PresShell::GoToAnchor(const nsAString& aAnchorName, PRBool aScroll)
if (content) {
// Flush notifications so we scroll to the right place
FlushPendingNotifications(PR_FALSE);
if (aScroll) {
FlushPendingNotifications(PR_FALSE);
}
// Get the primary frame
nsIFrame* frame = nsnull;

Просмотреть файл

@ -4119,7 +4119,9 @@ PresShell::GoToAnchor(const nsAString& aAnchorName, PRBool aScroll)
if (content) {
// Flush notifications so we scroll to the right place
FlushPendingNotifications(PR_FALSE);
if (aScroll) {
FlushPendingNotifications(PR_FALSE);
}
// Get the primary frame
nsIFrame* frame = nsnull;