Bug 14827: Reset scrollbars, don't turn them to auto for SetDocument r=harishd a=rickg

This commit is contained in:
pollmann@netscape.com
2000-02-19 02:54:32 +00:00
parent ae3cbd7893
commit e1734e73d9
2 changed files with 2 additions and 2 deletions

View File

@@ -3935,7 +3935,7 @@ NS_IMETHODIMP nsWebShell::SetDocument(nsIDOMDocument *aDOMDoc,
rootContent->SetDocument(doc, PR_TRUE);
// (6) reflow the document
SetScrolling(-1, PR_FALSE);
InitFrameData(PR_FALSE); // Reset the scrolling state to initial
PRInt32 i;
PRInt32 ns = doc->GetNumberOfShells();
for (i = 0; i < ns; i++)