From f9517288f888f4a09ac0184422e2d542e9a3ad94 Mon Sep 17 00:00:00 2001 From: JisanAR03 Date: Thu, 2 Nov 2023 02:31:34 +0600 Subject: [PATCH] Fix code scanning alert issue-#1343 --- website/static/vendor/bootstrap/js/bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/static/vendor/bootstrap/js/bootstrap.js b/website/static/vendor/bootstrap/js/bootstrap.js index 399a50d1b..2b06a13b7 100644 --- a/website/static/vendor/bootstrap/js/bootstrap.js +++ b/website/static/vendor/bootstrap/js/bootstrap.js @@ -2263,7 +2263,7 @@ function sanitizeInput(input) { var Affix = function (element, options) { this.options = $.extend({}, Affix.DEFAULTS, options) - this.$target = $(this.options.target) + this.$target = $(sanitizeSelector(this.options.target)) .on('scroll.bs.affix.data-api', $.proxy(this.checkPosition, this)) .on('click.bs.affix.data-api', $.proxy(this.checkPositionWithEventLoop, this))