Fix type error in escape key handler
| @@ -11375,7 +11375,7 @@ jQuery(async function () { | ||
| 11375 | 11375 | }); |
| 11376 | 11376 | |
| 11377 | 11377 | $(document).on('keydown', function (e) { |
| 11378 | 11378 | if (e.key === 'Escape' && !e.originalEvent.isComposing) { |
| 11379 | 11379 | const isEditVisible = $('#curEditTextarea').is(':visible') || $('.reasoning_edit_textarea').length > 0; |
| 11380 | 11380 | if (isEditVisible && power_user.auto_save_msg_edits === false) { |
| 11381 | 11381 | closeMessageEditor('all'); |