File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1+ const searchButtonContainerIds = [
2+ "fern-search-bar" ,
3+ "fern-search-button" ,
4+ ] ;
5+
16// Define the base settings
27const inkeepSettings = {
38 isOpen : true ,
@@ -31,11 +36,6 @@ const inkeepSettings = {
3136
3237// Function to initialize search containers
3338function initializeSearchContainers ( ) {
34- const searchButtonContainerIds = [
35- "search-bar-entry" ,
36- "search-bar-entry-mobile" ,
37- ] ;
38-
3939 // Clone and replace search buttons to remove existing listeners
4040 // Only process elements that exist
4141 const clonedSearchButtonContainers = searchButtonContainerIds
@@ -107,7 +107,7 @@ function initializeInkeep() {
107107 ( event ) => {
108108 if (
109109 ( event . metaKey || event . ctrlKey ) &&
110- ( event . key === "k" || event . key === "K ")
110+ ( event . key === "/ " )
111111 ) {
112112 event . stopPropagation ( ) ;
113113 inkeepSearchModal . render ( { isOpen : true } ) ;
You can’t perform that action at this time.
0 commit comments