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:
|
||||
var that = this;
|
||||
|
||||
if ( e.which < 32 ) {
|
||||
// ignore any ASCII control characters
|
||||
break;
|
||||
}
|
||||
|
||||
this.selectedLanguage = null;
|
||||
|
||||
delay( function() {
|
||||
|
||||
Reference in New Issue
Block a user