Fix edit card not working in chrome after editing (#25751)

pull/24732/merge
Paul Bottein 2025-06-11 16:15:50 +02:00 committed by GitHub
parent d542b52ebd
commit 6d30d15638
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ export class HuiBadgeEditMode extends LitElement {
if (this._touchStarted) return;
this._hover = true;
});
this.addEventListener("mouseout", () => {
this.addEventListener("mouseleave", () => {
this._hover = false;
});
this.addEventListener("click", () => {

View File

@ -71,7 +71,7 @@ export class HuiCardEditMode extends LitElement {
if (this._touchStarted) return;
this._hover = true;
});
this.addEventListener("mouseout", () => {
this.addEventListener("mouseleave", () => {
this._hover = false;
});
this.addEventListener("click", () => {