Skip to content

Commit

Permalink
fix search highlighting (#2026)
Browse files Browse the repository at this point in the history
Closes #2023
  • Loading branch information
maelle committed Jan 29, 2022
1 parent 25a1ab2 commit ae7363f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/BS5/assets/pkgdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
/* Search marking --------------------------*/
var url = new URL(window.location.href);
var toMark = url.searchParams.get("q");
var mark = new Mark("div.col-md-9");
var mark = new Mark("main#main");
if (toMark) {
mark.mark(toMark, {
accuracy: {
Expand Down

0 comments on commit ae7363f

Please sign in to comment.