Merge pull request #2030 from lechten/registersearchkey

Register search key shortcut for help overlay
This commit is contained in:
Hakim El Hattab 2017-11-09 11:30:38 +01:00 committed by GitHub
commit 376d140b2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,6 +200,7 @@ function Hilitor(id, tag)
toggleSearch(); toggleSearch();
} }
}, false ); }, false );
if( window.Reveal ) Reveal.registerKeyboardShortcut( 'Ctrl-Shift-F', 'Search' );
closeSearch(); closeSearch();
return { open: openSearch }; return { open: openSearch };
})(); })();