Bug 920984 - In the inspector, when a node is highlighted, we should scroll to show the node. r=mratcliffe

This commit is contained in:
Paul Rouget 2013-09-26 09:53:22 -04:00
parent c70799ebf9
commit ae4d18c0cc

View File

@ -934,7 +934,6 @@ var WalkerActor = protocol.ActorClass({
}
this._installHelperSheet(node);
this.layoutHelpers.scrollIntoViewIfNeeded(node.rawNode);
DOMUtils.addPseudoClassLock(node.rawNode, HIGHLIGHTED_PSEUDO_CLASS);
this._highlightTimeout = setTimeout(this._unhighlight.bind(this), HIGHLIGHTED_TIMEOUT);