Fix scrolling to element in inspector to scroll only when really

needed.  Bug 120947, r=doron, sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@112655 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu 2002-01-24 05:11:20 +00:00
parent d722d45aa6
commit 2edd5ea947

View File

@ -92,7 +92,7 @@ Flasher.prototype =
if (val && val.nodeType == 1) {
this.mElement = val;
if ("scrollIntoView" in val) {
val.scrollIntoView();
val.scrollIntoView(false);
}
} else
throw "Invalid node type.";