Bug 988102 - Opening inspector scrolls the content page all the way to the top;r=bgrins
This commit is contained in:
@@ -289,9 +289,7 @@ MarkupView.prototype = {
|
||||
let done = this._inspector.updating("markup-view");
|
||||
if (selection.isNode()) {
|
||||
if (this._shouldNewSelectionBeHighlighted()) {
|
||||
this._brieflyShowBoxModel(selection.nodeFront, {
|
||||
scrollIntoView: true
|
||||
});
|
||||
this._brieflyShowBoxModel(selection.nodeFront, {});
|
||||
}
|
||||
|
||||
this.showNode(selection.nodeFront, true).then(() => {
|
||||
|
||||
Reference in New Issue
Block a user