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:
parent
d722d45aa6
commit
2edd5ea947
@ -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.";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user