Skip to content

Commit

Permalink
Update src/pydata_sphinx_theme/assets/scripts/pydata-sphinx-theme.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gabalafou committed Aug 22, 2024
1 parent 2353be8 commit 2cf3068
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -724,7 +724,7 @@ function setupMobileSidebarKeyboardHandlers() {
dialog.addEventListener("click", closeDialogOnBackdropClick);

// We have to manually attach the escape key because there's some code in
// Sphinx's search-highlight.js that prevents the default behavior of the
// Sphinx's Sphinx_highlight.js that prevents the default behavior of the
// escape key
dialog.addEventListener("keydown", (event) => {
if (event.key === "Escape") {
Expand Down

0 comments on commit 2cf3068

Please sign in to comment.