Skip to content

Commit 38404e8

Browse files
committed
SI-6555 Scaladoc's class filter shouldn't drop the last character
The event handler have to wait "keyup", not "keydown".
1 parent f219ade commit 38404e8

File tree

1 file changed

+1
-1
lines changed
  • src/compiler/scala/tools/nsc/doc/html/resource/lib

1 file changed

+1
-1
lines changed

src/compiler/scala/tools/nsc/doc/html/resource/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ function configureTextFilter() {
339339
printAlphabet();
340340
var input = $("#textfilter input");
341341
resizeFilterBlock();
342-
input.bind("keydown", function(event) {
342+
input.bind('keyup', function(event) {
343343
if (event.keyCode == 27) { // escape
344344
input.attr("value", "");
345345
}

0 commit comments

Comments
 (0)