diff options
author | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-08-19 19:17:17 +0300 |
---|---|---|
committer | Luke Bennett <lukeeeebennettplus@gmail.com> | 2016-08-19 19:17:17 +0300 |
commit | 8ade8258603586560fad50784c23e4772706973f (patch) | |
tree | 01c908fc7ba6505a80c7930a8c82ad6e65ee6e89 /app/assets/javascripts/search_autocomplete.js | |
parent | 2f8fada6c06d7ed67307119bf22e9743429c18be (diff) |
review changes
Diffstat (limited to 'app/assets/javascripts/search_autocomplete.js')
-rw-r--r-- | app/assets/javascripts/search_autocomplete.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/assets/javascripts/search_autocomplete.js b/app/assets/javascripts/search_autocomplete.js index 37451d406ec..227e8c696b4 100644 --- a/app/assets/javascripts/search_autocomplete.js +++ b/app/assets/javascripts/search_autocomplete.js @@ -226,11 +226,11 @@ this.restoreOriginalState(); break; case KEYCODE.ENTER: - this.disableAutocomplete(); + this.disableAutocomplete(); break; - case KEYCODE.UP: + case KEYCODE.UP: case KEYCODE.DOWN: - return; + return; default: if (this.searchInput.val() === '') { this.disableAutocomplete(); |