Commit cc61edfa authored by Johann-S's avatar Johann-S
Browse files

fix(scrollspy): xss in target option

parent 14909601
2 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes
Showing with 1 addition and 1 deletion
+1 -1
......@@ -115,7 +115,7 @@ const ScrollSpy = (($) => {
this._scrollHeight = this._getScrollHeight()
const targets = $.makeArray($(this._selector))
const targets = $.makeArray(document.querySelectorAll(this._selector))
targets
.map((element) => {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment