Skip to content

Commit ea460b2

Browse files
xming521Undertone0809
authored andcommitted
Fix the shortcut conflict for document page search (langchain-ai#5874)
Fix the document page to open both search and Mendable when pressing Ctrl+K. I have changed the shortcut for Mendable to Ctrl+J. <!-- If you're adding a new integration, please include: 1. a test for the integration - favor unit tests that does not rely on network access. 2. an example notebook showing its use See contribution guidelines for more information on how to write tests, lint etc: https://github.com/hwchase17/langchain/blob/master/.github/CONTRIBUTING.md --> #### Who can review? @hwchase17 Tag maintainers/contributors who might be interested: <!-- For a quicker response, figure out the right person to tag with @ @hwchase17 - project lead Tracing / Callbacks - @agola11 Async - @agola11 DataLoaders - @eyurtsev Models - @hwchase17 - @agola11 Agents / Tools / Toolkits - @vowelparrot VectorStores / Retrievers / Memory - @dev2049 -->
1 parent df5c683 commit ea460b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/_static/js/mendablesearch.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ document.addEventListener('DOMContentLoaded', () => {
3737
style: { darkMode: false, accentColor: '#010810' },
3838
floatingButtonStyle: { color: '#ffffff', backgroundColor: '#010810' },
3939
anon_key: '82842b36-3ea6-49b2-9fb8-52cfc4bde6bf', // Mendable Search Public ANON key, ok to be public
40+
cmdShortcutKey:'j',
4041
messageSettings: {
4142
openSourcesInNewTab: false,
4243
prettySources: true // Prettify the sources displayed now

0 commit comments

Comments
 (0)