diff --git a/editor/src/index.js b/editor/src/index.js index ed03a74..1d2dbf7 100644 --- a/editor/src/index.js +++ b/editor/src/index.js @@ -39,7 +39,7 @@ $(document).on('keydown', '#search-input', function (event) { return false } if (event.key === 'Escape') { - $(searchInput).val(''); + $(this).val(''); $ac.fadeOut(); return false; }