summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js b/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js
index 7a1ce27c3f..982a6d0210 100644
--- a/src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js
+++ b/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(); });
});