mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 01:21:23 +08:00
FIX: regression, ESC is not captured correctly
This commit is contained in:
@ -331,7 +331,7 @@ export default function(options) {
|
||||
}
|
||||
|
||||
// ESC
|
||||
if (e.which === keys.escape) {
|
||||
if (e.which === keys.esc) {
|
||||
if (completeStart !== null) {
|
||||
closeAutocomplete();
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user