mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-23 23:58:02 -05:00
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:
parent
a9b94f55dd
commit
26b0ad7fd1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue