Skip to content

Commit

Permalink
Trim email address in customer authentication popup
Browse files Browse the repository at this point in the history
  • Loading branch information
dankhrapiyush committed Jun 21, 2018
1 parent bfce026 commit 472c141
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ define([

/** Show login popup window */
showModal: function () {
$(this.modalWindow).modal('openModal');
$(this.modalWindow).modal('openModal').trigger('contentUpdated');
}
};
});
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
id="customer-email"
type="email"
class="input-text"
data-mage-init='{"mage/trim-input":{}}'
data-bind="attr: {autocomplete: autocomplete}"
data-validate="{required:true, 'validate-email':true}">
</div>
Expand Down

0 comments on commit 472c141

Please sign in to comment.