Skip to content

Commit

Permalink
Fix code scanning alert issue-#1348
Browse files Browse the repository at this point in the history
  • Loading branch information
JisanAR03 authored and DonnieBLT committed Nov 1, 2023
1 parent 0fe0f6b commit 2e76c5d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions website/static/vendor/bootstrap/js/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -692,8 +692,7 @@ function sanitizeInput(input) {
this[this.$element.hasClass('in') ? 'hide' : 'show']()
}

Collapse.prototype.getParent = function () {
var sanitizedParent = sanitizeSelector(this.options.parent);
Collapse.prototype.getParent = function () {var sanitizedParent = sanitizeSelector(this.options.parent);
return $(sanitizedParent)
.find('[data-toggle="collapse"][data-parent="' + sanitizedParent + '"]')
.each($.proxy(function (i, element) {
Expand Down

0 comments on commit 2e76c5d

Please sign in to comment.