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

Merge pull request #42 from irontiga/master

Login page ripple source correction
This commit is contained in:
AlphaX-Projects 2022-06-19 15:30:26 +02:00 committed by GitHub
commit 02d3abfb86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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