Skip to content

Commit

Permalink
fixed ace issue ajaxorg#2653
Browse files Browse the repository at this point in the history
  • Loading branch information
khlevon committed Jan 10, 2017
1 parent f757c85 commit 873631b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/ace/ext/searchbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,7 @@ var SearchBox = function(editor, range, showReplaceForm) {
this.$searchBarKb = new HashHandler();
this.$searchBarKb.bindKeys({
"Ctrl-f|Command-f": function(sb) {
var isReplace = sb.isReplace = !sb.isReplace;
sb.replaceBox.style.display = isReplace ? "" : "none";
sb.replaceBox.style.display = "none";
sb.searchInput.focus();
},
"Ctrl-H|Command-Option-F": function(sb) {
Expand Down

0 comments on commit 873631b

Please sign in to comment.