Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Minor fix to Tab-switch keyboard shortcut

  • Loading branch information...
commit 86da9aaa05549d18524d9fe5b00a37ffe1d99c68 1 parent 8b1eb6c
@heathermiller heathermiller authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js
View
4 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(); });
});
Please sign in to comment.
Something went wrong with that request. Please try again.