There was an error while loading. Please reload this page.
2 parents b99befc + 182f794 commit 7043ab9Copy full SHA for 7043ab9
app/assets/javascripts/discourse/components/autocomplete.js
@@ -302,7 +302,7 @@ $.fn.autocomplete = function(options) {
302
return false;
303
}
304
term = me.val().substring(completeStart + (options.key ? 1 : 0), caretPosition);
305
- if (e.which > 48 && e.which < 90) {
+ if (e.which >= 48 && e.which <= 90) {
306
term += String.fromCharCode(e.which);
307
} else {
308
if (e.which !== 8) {
0 commit comments