Browse Source

Merge pull request #2030 from lechten/registersearchkey

Register search key shortcut for help overlay
Hakim El Hattab 7 years ago
parent
commit
376d140b2a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      plugin/search/search.js

+ 1 - 0
plugin/search/search.js

@@ -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 };
 })();
 })();