4
1
mirror of https://github.com/Qortal/qortal-ui.git synced 2025-02-11 17:55:51 +00:00

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...
this.loadingRipple.welcomeMessage = this.renderPrepareText()
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 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
this.loadingRipple.open({
x: x,
y: y
x: e.clientX,
y: e.clientY
})
.then(() => {
const source = this.walletSources[type]()