Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Correct me if I'm wrong, but I think around line 132 in botstrap.js there is a bug:
...
bootstrapAnchor: function (element) {
element.validAnchor = element.nodeName === 'A' && (location.hostname === element.hostname || !element.hostname) && element.hash.replace(/#/,'').length;
element.scrollTo = function(event) {
var attr = 'id';
var $target = $(element.hash);
if (!$target.length) {
attr = 'name';
$target = $('[name="' + element.hash.replace('#', '') + '"');
}
...
The selector for $target does not have closing square bracket.
Comments
Comment #1
psha CreditAttribution: psha commentedComment #2
psha CreditAttribution: psha commentedComment #3
markhalliwell