Skip to content

Commit

Permalink
Fix code style for codemirror#6920
Browse files Browse the repository at this point in the history
  • Loading branch information
marijnh committed May 28, 2022
1 parent e024ab4 commit 17897ea
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions addon/search/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,12 +202,12 @@
}

function getQueryDialog(cm) {
const label = el("label", {className: "CodeMirror-search-label"},
cm.phrase("Search:"),
el("input", {type: "text", "style": "width: 10em", className: "CodeMirror-search-field", id: "CodeMirror-search-field"}));
var label = el("label", {className: "CodeMirror-search-label"},
cm.phrase("Search:"),
el("input", {type: "text", "style": "width: 10em", className: "CodeMirror-search-field",
id: "CodeMirror-search-field"}));
label.setAttribute("for","CodeMirror-search-field");
return el("", null,
label, " ", " ",
return el("", null, label, " ",
el("span", {style: "color: #666", className: "CodeMirror-search-hint"},
cm.phrase("(Use /re/ syntax for regexp search)")));
}
Expand Down

0 comments on commit 17897ea

Please sign in to comment.