Skip to content

Commit

Permalink
Added context to comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mmeigs committed Sep 17, 2024
1 parent e4ba8ff commit 2acc239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ActionBar/SearchInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const SearchInput = ({ className, slug }) => {
return;
}

// if currently focused on search input,
// if currently focused on search input and on English site (therefore, chatbot is an option),
// activates the chatbot modal
if (event.target.isSameNode(inputRef.current) && event.key === '/' && isEnglish) {
event.preventDefault();
Expand Down

0 comments on commit 2acc239

Please sign in to comment.