diff --git a/src/public/javascripts/services/entrypoints.js b/src/public/javascripts/services/entrypoints.js index 456d20098..99bf6fb29 100644 --- a/src/public/javascripts/services/entrypoints.js +++ b/src/public/javascripts/services/entrypoints.js @@ -138,16 +138,14 @@ function registerEntrypoints() { }); } - function openInPageSearch() { - if (utils.isElectron()) { + if (utils.isElectron()) { + utils.bindShortcut('ctrl+f', () => { findInPage.openFindWindow(); return false; - } + }); } - utils.bindShortcut('ctrl+f', openInPageSearch); - // FIXME: do we really need these at this point? utils.bindShortcut("ctrl+shift+up", () => { const node = treeService.getActiveNode();