From 767fa91eae3455050d85a594fededddff3311dbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E9=93=AD?= <1223398803@qq.com> Date: Fri, 9 Jun 2023 05:15:19 +0800 Subject: [PATCH] Fix the shortcut conflict for document page search (#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. #### Who can review? @hwchase17 Tag maintainers/contributors who might be interested: --- docs/_static/js/mendablesearch.js | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/_static/js/mendablesearch.js b/docs/_static/js/mendablesearch.js index d5deba5d..cde9615d 100644 --- a/docs/_static/js/mendablesearch.js +++ b/docs/_static/js/mendablesearch.js @@ -37,6 +37,7 @@ document.addEventListener('DOMContentLoaded', () => { style: { darkMode: false, accentColor: '#010810' }, floatingButtonStyle: { color: '#ffffff', backgroundColor: '#010810' }, anon_key: '82842b36-3ea6-49b2-9fb8-52cfc4bde6bf', // Mendable Search Public ANON key, ok to be public + cmdShortcutKey:'j', messageSettings: { openSourcesInNewTab: false, prettySources: true // Prettify the sources displayed now