mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
Fix edit card not working in chrome after editing (#25751)
This commit is contained in:
parent
d542b52ebd
commit
6d30d15638
@ -85,7 +85,7 @@ export class HuiBadgeEditMode extends LitElement {
|
|||||||
if (this._touchStarted) return;
|
if (this._touchStarted) return;
|
||||||
this._hover = true;
|
this._hover = true;
|
||||||
});
|
});
|
||||||
this.addEventListener("mouseout", () => {
|
this.addEventListener("mouseleave", () => {
|
||||||
this._hover = false;
|
this._hover = false;
|
||||||
});
|
});
|
||||||
this.addEventListener("click", () => {
|
this.addEventListener("click", () => {
|
||||||
|
@ -71,7 +71,7 @@ export class HuiCardEditMode extends LitElement {
|
|||||||
if (this._touchStarted) return;
|
if (this._touchStarted) return;
|
||||||
this._hover = true;
|
this._hover = true;
|
||||||
});
|
});
|
||||||
this.addEventListener("mouseout", () => {
|
this.addEventListener("mouseleave", () => {
|
||||||
this._hover = false;
|
this._hover = false;
|
||||||
});
|
});
|
||||||
this.addEventListener("click", () => {
|
this.addEventListener("click", () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user