mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-05 16:42:29 +03:00
fix(collapse): xss in parent option
This commit is contained in:
+1
-1
@@ -289,7 +289,7 @@ const Collapse = (($) => {
|
||||
parent = this._config.parent[0]
|
||||
}
|
||||
} else {
|
||||
parent = $(this._config.parent)[0]
|
||||
parent = document.querySelector(this._config.parent)
|
||||
}
|
||||
|
||||
const selector =
|
||||
|
||||
Reference in New Issue
Block a user