Skip to content

Commit

Permalink
Merge pull request #3186 from raspberrypi/develop
Browse files Browse the repository at this point in the history
Push fix for Firefox to production
  • Loading branch information
Alasdair Allan authored Oct 17, 2023
2 parents 3057589 + e7d6c5f commit 57ca204
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions jekyll-assets/_includes/scripts.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
// if found, scroll to that id hash
console.log("Scrolling to ", selector);
var target = document.querySelector(selector);
waitForElementToDisplay(selector, 10, 500);
if (target) {
var bbox = target.getBoundingClientRect();
var myid = target.getAttribute("id");
Expand Down

0 comments on commit 57ca204

Please sign in to comment.