From 71d2e71908de6051b8ae7f29bae4c4e3e14e88f6 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 22 Feb 2016 21:22:18 +1030 Subject: [PATCH] Condense into value/oninput into bidi --- js/forum/dist/app.js | 6 ++---- js/forum/src/components/LogInModal.js | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/js/forum/dist/app.js b/js/forum/dist/app.js index 8fa967d76..54c8b1f89 100644 --- a/js/forum/dist/app.js +++ b/js/forum/dist/app.js @@ -24094,16 +24094,14 @@ System.register('flarum/components/LogInModal', ['flarum/components/Modal', 'fla 'div', { className: 'Form-group' }, m('input', { className: 'FormControl', name: 'email', type: 'text', placeholder: extractText(app.translator.trans('core.forum.log_in.username_or_email_placeholder')), - value: this.email(), - oninput: m.withAttr('value', this.email), + bidi: this.email, disabled: this.loading }) ), m( 'div', { className: 'Form-group' }, m('input', { className: 'FormControl', name: 'password', type: 'password', placeholder: extractText(app.translator.trans('core.forum.log_in.password_placeholder')), - value: this.password(), - oninput: m.withAttr('value', this.password), + bidi: this.password, disabled: this.loading }) ), m( diff --git a/js/forum/src/components/LogInModal.js b/js/forum/src/components/LogInModal.js index 09540d330..691012cae 100644 --- a/js/forum/src/components/LogInModal.js +++ b/js/forum/src/components/LogInModal.js @@ -49,15 +49,13 @@ export default class LogInModal extends Modal {