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
1 changed files with 1 additions and 0 deletions

View File

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