Ignore control characters in typeahead

Fix https://bugzilla.wikimedia.org/show_bug.cgi?id=40171
This commit is contained in:
Santhosh Thottingal
2012-11-19 12:12:25 +05:30
parent 5626a4cf92
commit 04edfa90c8

View File

@@ -95,6 +95,11 @@
default:
var that = this;
if ( e.which < 32 ) {
// ignore any ASCII control characters
break;
}
this.selectedLanguage = null;
delay( function() {