Merge pull request #687 from ing-bank/fix/input-range-secure-css
fix(input-range): securely apply css
This commit is contained in:
commit
1790df79b3
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