Index: third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js b/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js |
index 44072a93ae5240a23e89edb341103e17089e83b5..8de1aab0a6047b7b1e7a8e94d647445f50f6357d 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ListWidget.js |
@@ -390,7 +390,7 @@ WebInspector.ListWidget.Editor.prototype = { |
this._cancel = cancel; |
this._commitButton.textContent = commitButtonTitle; |
- this._commitButton.scrollIntoView(); |
+ this.element.scrollIntoView(); |
if (this._controls.length) |
this._controls[0].focus(); |
this._validateControls(true); |