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