1
0
Fork 0
forked from campiaperti/infra

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();
}
}, false );
if( window.Reveal ) Reveal.registerKeyboardShortcut( 'Ctrl-Shift-F', 'Search' );
closeSearch();
return { open: openSearch };
})();