From 2acc239cd7ef9514a4bf4480edcb794e32e9e5ea Mon Sep 17 00:00:00 2001 From: mmeigs Date: Tue, 17 Sep 2024 10:12:16 -0400 Subject: [PATCH] Added context to comment --- src/components/ActionBar/SearchInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ActionBar/SearchInput.js b/src/components/ActionBar/SearchInput.js index 887122b06..6161736b9 100644 --- a/src/components/ActionBar/SearchInput.js +++ b/src/components/ActionBar/SearchInput.js @@ -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();