Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
JisanAR03 committed Nov 1, 2023
1 parent 4e71fc8 commit 176a671
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions website/static/vendor/bootstrap/js/bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -2025,15 +2025,14 @@ function sanitizeInput(input) {
&& this.activate(targets[i])
}
}

ScrollSpy.prototype.activate = function (target) {
this.activeTarget = target

this.clear()

var selector = this.selector +
'[data-target="' + target + '"],' +
this.selector + '[href="' + target + '"]'
'[data-target="' + sanitizeSelector(target) + '"],' +
this.selector + '[href="' + sanitizeSelector(target) + '"]'

var active = $(selector)
.parents('li')
Expand Down

0 comments on commit 176a671

Please sign in to comment.