lib/rdoc/generator/template/sdoc/resources/js/searchdoc.js in sdoc-0.3.18 vs lib/rdoc/generator/template/sdoc/resources/js/searchdoc.js in sdoc-0.3.19

- old
+ new

@@ -72,9 +72,16 @@ break; case 9: //Event.KEY_TAB: case 13: //Event.KEY_RETURN: if (this.$current) this.select(this.$current); break; + case 83: // s (qwerty) + case 79: // o (dvorak) + if (e.ctrlKey) { + $('#search').focus(); + e.preventDefault(); + } + break; } if (e.ctrlKey && e.shiftKey) this.select(this.$current); } this.clearMoveTimeout = function() {