fix(input-range): securely apply css
This commit is contained in:
parent
86fdc4dca2
commit
ada5350a21
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ export class LionInputRange extends LocalizeMixin(LionInput) {
|
|||
|
||||
__setupStyleTag() {
|
||||
this.__styleTag = document.createElement('style');
|
||||
this.__styleTag.innerHTML = this.constructor.rangeStyles(unsafeCSS(this.scopedClass));
|
||||
this.__styleTag.textContent = this.constructor.rangeStyles(unsafeCSS(this.scopedClass));
|
||||
this.insertBefore(this.__styleTag, this.childNodes[0]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue