From 2143a96c19cb873c09e9f7be4baa67272a6a9096 Mon Sep 17 00:00:00 2001 From: Sajjad Hasehmian Date: Tue, 16 Feb 2016 20:55:28 +0330 Subject: [PATCH] Fix login box autocomplete --- js/forum/dist/app.js | 4 ++-- js/forum/src/components/LogInModal.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/forum/dist/app.js b/js/forum/dist/app.js index 2f5679327..8fa967d76 100644 --- a/js/forum/dist/app.js +++ b/js/forum/dist/app.js @@ -24095,7 +24095,7 @@ System.register('flarum/components/LogInModal', ['flarum/components/Modal', 'fla { 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(), - onchange: m.withAttr('value', this.email), + oninput: m.withAttr('value', this.email), disabled: this.loading }) ), m( @@ -24103,7 +24103,7 @@ System.register('flarum/components/LogInModal', ['flarum/components/Modal', 'fla { 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(), - onchange: m.withAttr('value', this.password), + oninput: m.withAttr('value', this.password), disabled: this.loading }) ), m( diff --git a/js/forum/src/components/LogInModal.js b/js/forum/src/components/LogInModal.js index 8395061f8..09540d330 100644 --- a/js/forum/src/components/LogInModal.js +++ b/js/forum/src/components/LogInModal.js @@ -50,14 +50,14 @@ export default class LogInModal extends Modal {