Bring back press enter for login

This commit is contained in:
AlphaX-Projects 2022-07-22 18:15:22 +02:00 committed by GitHub
parent 60995a1f89
commit 0d524096a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -617,12 +617,12 @@ class LoginSection extends connect(store)(LitElement) {
// First decrypt... // First decrypt...
this.loadingRipple.welcomeMessage = this.renderPrepareText() this.loadingRipple.welcomeMessage = this.renderPrepareText()
const x = e.clientX !== undefined ? e.clientX : e.explicitOriginalTarget.getBoundingClientRect().left + window.scrollX // const x = e.clientX !== undefined ? e.clientX : e.explicitOriginalTarget.getBoundingClientRect().left + window.scrollX
const y = e.clientY !== undefined ? e.clientY : e.explicitOriginalTarget.getBoundingClientRect().top + window.scrollY // const y = e.clientY !== undefined ? e.clientY : e.explicitOriginalTarget.getBoundingClientRect().top + window.scrollY
this.loadingRipple.open({ this.loadingRipple.open({
x: x, x: e.clientX,
y: y y: e.clientY
}) })
.then(() => { .then(() => {
const source = this.walletSources[type]() const source = this.walletSources[type]()