Ignore control characters in typeahead
Fix https://bugzilla.wikimedia.org/show_bug.cgi?id=40171
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user