From 86da9aaa05549d18524d9fe5b00a37ffe1d99c68 Mon Sep 17 00:00:00 2001 From: Heather Miller Date: Fri, 18 May 2012 22:33:41 +0200 Subject: Minor fix to Tab-switch keyboard shortcut --- src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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(); }); }); -- cgit v1.2.3