Permalink
Browse files

Minor fix to Tab-switch keyboard shortcut

  • Loading branch information...
1 parent 8b1eb6c commit 86da9aaa05549d18524d9fe5b00a37ffe1d99c68 @heathermiller heathermiller committed May 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js
@@ -270,13 +270,13 @@ function configureTextFilter() {
input.bind("keydown", function(event) {
if (event.keyCode == 27) { // escape
input.attr("value", "");
- textFilter();
}
if (event.keyCode == 9) { // tab
$("#template").contents().find("#mbrsel-input").focus();
input.attr("value", "");
return false;
- }
+ }
+ textFilter();
});
input.focus(function(event) { input.select(); });
});

0 comments on commit 86da9aa

Please sign in to comment.