Browse Source

Register search key shortcut for help overlay

Jens Lechtenbörger 7 năm trước cách đây
mục cha
commit
1002d39e7c
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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 };
 })();