diff --git a/app/assets/javascripts/discourse/lib/autocomplete.js.es6 b/app/assets/javascripts/discourse/lib/autocomplete.js.es6 index b28c5d5c31a..886a5918053 100644 --- a/app/assets/javascripts/discourse/lib/autocomplete.js.es6 +++ b/app/assets/javascripts/discourse/lib/autocomplete.js.es6 @@ -317,7 +317,7 @@ export default function(options) { } }; - $(this).on('keyup.autocomplete', function(e) { + $(this).on('keyup.autocomplete', function() { var caretPosition = Discourse.Utilities.caretPosition(me[0]);