From e403e42d2cbb7920282eed5a5bc3131c616b6be4 Mon Sep 17 00:00:00 2001 From: JisanAR03 Date: Thu, 2 Nov 2023 02:25:39 +0600 Subject: [PATCH] testing --- 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 bc8755661..f075ead6a 100644 --- a/website/static/vendor/bootstrap/js/bootstrap.js +++ b/website/static/vendor/bootstrap/js/bootstrap.js @@ -2287,7 +2287,7 @@ function escapePotentialXSS(selector) { 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))