Explorar o código

Register search key shortcut for help overlay

Jens Lechtenbörger %!s(int64=7) %!d(string=hai) anos
pai
achega
1002d39e7c
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      plugin/search/search.js

+ 1 - 0
plugin/search/search.js

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