Fix bug with searchbox keyboard handler
This typo caused a bug where ESC did not leave the Vim INSERT mode.
This commit is contained in:
parent
031b3b534b
commit
bcf9c0410f
1 changed files with 2 additions and 2 deletions
|
|
@ -177,7 +177,7 @@ var SearchBox = function(editor, range, showReplaceForm) {
|
||||||
|
|
||||||
this.hide = function () {
|
this.hide = function () {
|
||||||
this.element.style.display = "none";
|
this.element.style.display = "none";
|
||||||
this.editor.keyBinding.removeKeyboardHandler(this.$searchKeybingin);
|
this.editor.keyBinding.removeKeyboardHandler(this.$closeSearchBarKb);
|
||||||
this.editor.focus();
|
this.editor.focus();
|
||||||
};
|
};
|
||||||
this.show = function(value, isReplace) {
|
this.show = function(value, isReplace) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue