Skip to content

Commit

Permalink
Merge branch 'master' into 22.9.x
Browse files Browse the repository at this point in the history
  • Loading branch information
tristanlatr committed Sep 15, 2022
2 parents fb2bf8a + 6e061a5 commit d34e245
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pydoctor/themes/base/apidocs.css
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ table .module {
background-color: #fff8e1;
}

table .class, table .classvariable, table .baseclassvariable {
table .class, table .classvariable, table .baseclassvariable, table .exception {
background-color: #fffde7;
}

Expand Down
2 changes: 1 addition & 1 deletion pydoctor/themes/base/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ window.addEventListener("click", (event) => {
current_page = page_parts[page_parts.length-1]
href = link.getAttribute("href");

if (!href.includes(current_page)){
if (!href.startsWith(current_page)){
// The link points to something not in the same page, so don't hide the dropdown.
// The page will be reloaded anyway, but this ensure that if we go back, the dropdown will
// still be expanded.
Expand Down

0 comments on commit d34e245

Please sign in to comment.