diff options
author | Heather Miller <heather.miller@epfl.ch> | 2012-05-18 22:33:41 +0200 |
---|---|---|
committer | Heather Miller <heather.miller@epfl.ch> | 2012-05-18 22:33:41 +0200 |
commit | 86da9aaa05549d18524d9fe5b00a37ffe1d99c68 (patch) | |
tree | a07caa4e61a4f8cf962550dbc14199f2f5349a0d /src | |
parent | 8b1eb6ceda215b596b8f4a5afed8d7c7bf370c20 (diff) | |
download | scala-86da9aaa05549d18524d9fe5b00a37ffe1d99c68.tar.gz scala-86da9aaa05549d18524d9fe5b00a37ffe1d99c68.tar.bz2 scala-86da9aaa05549d18524d9fe5b00a37ffe1d99c68.zip |
Minor fix to Tab-switch keyboard shortcut
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js | 4 |
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(); }); }); |