Explorar o código

Merge pull request #2030 from lechten/registersearchkey

Register search key shortcut for help overlay
Hakim El Hattab %!s(int64=7) %!d(string=hai) anos
pai
achega
376d140b2a
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 };
 })();