SI-6555 Scaladoc's class filter shouldn't drop the last character (2.10.x)

The event handler have to wait "keyup", not "keydown".