From 5cd5d5aca5430e3de8d852a6cf20792927d3b174 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Mon, 5 Feb 2018 09:55:58 +0100 Subject: [PATCH] FIX: prevents a regression where enter wasn't working in inputs --- app/assets/javascripts/discourse/components/text-field.js.es6 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/components/text-field.js.es6 b/app/assets/javascripts/discourse/components/text-field.js.es6 index ae26f6e99f0..6e1fabc8195 100644 --- a/app/assets/javascripts/discourse/components/text-field.js.es6 +++ b/app/assets/javascripts/discourse/components/text-field.js.es6 @@ -16,7 +16,9 @@ export default Ember.TextField.extend({ } }, - keyUp() { + keyUp(event) { + this._super(event); + if (this.siteSettings.support_mixed_text_direction) { let val = this.value; if (isRTL(val)) {