mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 04:16:34 +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");
|
||||
} else {
|
||||
// clear all custom properties (can't use "all" for this)
|
||||
for (let i = this.style.length; i--; ) {
|
||||
this.style.removeProperty(this.style[i]);
|
||||
}
|
||||
this.style = "";
|
||||
|
||||
this.style.direction = "ltr";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user