mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 12:26:35 +00:00
Update src/state/translations-mixin.ts
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
This commit is contained in:
parent
6c73ae5bf7
commit
f09c842981
@ -195,9 +195,7 @@ export default <T extends Constructor<HassBaseEl>>(superClass: T) =>
|
|||||||
this.style.setProperty("--rtl-dir", "rtl");
|
this.style.setProperty("--rtl-dir", "rtl");
|
||||||
} else {
|
} else {
|
||||||
// clear all custom properties (can't use "all" for this)
|
// clear all custom properties (can't use "all" for this)
|
||||||
for (let i = this.style.length; i--; ) {
|
this.style = "";
|
||||||
this.style.removeProperty(this.style[i]);
|
|
||||||
}
|
|
||||||
|
|
||||||
this.style.direction = "ltr";
|
this.style.direction = "ltr";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user