Index: Source/devtools/front_end/source_frame/GoToLineDialog.js |
diff --git a/Source/devtools/front_end/source_frame/GoToLineDialog.js b/Source/devtools/front_end/source_frame/GoToLineDialog.js |
index 102cff094c66030ffc760bee4289a041936f1844..949542eb34fe40a6199a086f5fca00d75db622d7 100644 |
--- a/Source/devtools/front_end/source_frame/GoToLineDialog.js |
+++ b/Source/devtools/front_end/source_frame/GoToLineDialog.js |
@@ -36,8 +36,7 @@ |
WebInspector.GoToLineDialog = function(sourceFrame) |
{ |
WebInspector.DialogDelegate.call(this); |
- |
- this.element = createElementWithClass("div", "go-to-line-dialog"); |
+ this.element.classList.add("go-to-line-dialog"); |
this.element.createChild("label").textContent = WebInspector.UIString("Go to line: "); |
this._input = this.element.createChild("input"); |