Ignore control characters in typeahead

Fix https://bugzilla.wikimedia.org/show_bug.cgi?id=40171
This commit is contained in:
Santhosh Thottingal committed 2012-11-19 12:12:25 +05:30
1 parent 5626a4cf92
commit 04edfa90c8
1 file changed
+5
+5
View File
@@ -95,6 +95,11 @@
default: default:
var that = this; var that = this;
if ( e.which < 32 ) {
// ignore any ASCII control characters
break;
}
this.selectedLanguage = null; this.selectedLanguage = null;
delay( function() { delay( function() {