UX: hide help button after click

This commit is contained in:
Arpit Jalan 2017-06-19 16:27:31 +05:30
parent ee1f3a4b25
commit 2bf2d506bf
2 changed files with 2 additions and 1 deletions

View File

@ -60,6 +60,7 @@ export default Ember.Controller.extend(ModalFunctionality, {
help() { help() {
this.set('offerHelp', I18n.t('forgot_password.help')); this.set('offerHelp', I18n.t('forgot_password.help'));
$('.forgot-password-help-btn').hide();
} }
} }

View File

@ -17,7 +17,7 @@
{{d-button class="btn-large btn-primary" {{d-button class="btn-large btn-primary"
label="forgot_password.button_ok" label="forgot_password.button_ok"
action="ok"}} action="ok"}}
{{d-button class="btn-large" {{d-button class="btn-large forgot-password-help-btn"
label="forgot_password.button_help" label="forgot_password.button_help"
action="help"}} action="help"}}
{{/unless}} {{/unless}}