Create account modal: don't open Facebook popup when pressing Enter in an input field, fixes #3729

Ref: #3729

`<button>`s are `type="submit"` by default.
This commit is contained in:
Fabrício Matté 2016-06-25 03:18:52 -03:00 committed by UltCombo
parent a9b94f55dd
commit 26b0ad7fd1

View file

@ -33,10 +33,10 @@
.col-md-6 .col-md-6
.auth-network-logins.text-center .auth-network-logins.text-center
strong(data-i18n="signup.or_sign_up_with") strong(data-i18n="signup.or_sign_up_with")
button#facebook-signup-btn.btn.btn-primary.btn-lg.btn-illustrated.network-login(disabled=true) button#facebook-signup-btn.btn.btn-primary.btn-lg.btn-illustrated.network-login(type="button", disabled=true)
img.network-logo(src="/images/pages/community/logo_facebook.png", draggable="false") img.network-logo(src="/images/pages/community/logo_facebook.png", draggable="false")
span.sign-in-blurb(data-i18n="login.sign_in_with_facebook") span.sign-in-blurb(data-i18n="login.sign_in_with_facebook")
button#gplus-signup-btn.btn.btn-danger.btn-lg.btn-illustrated.network-login(disabled=true) button#gplus-signup-btn.btn.btn-danger.btn-lg.btn-illustrated.network-login(type="button", disabled=true)
img.network-logo(src="/images/pages/community/logo_g+.png", draggable="false") img.network-logo(src="/images/pages/community/logo_g+.png", draggable="false")
span.sign-in-blurb(data-i18n="login.sign_in_with_gplus") span.sign-in-blurb(data-i18n="login.sign_in_with_gplus")
.gplus-login-wrapper .gplus-login-wrapper