FIX: prevents a regression where enter wasn't working in inputs

This commit is contained in:
Joffrey JAFFEUX 2018-02-05 09:55:58 +01:00 committed by GitHub
parent 0776340b29
commit 5cd5d5aca5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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)) {