mirror of
https://github.com/zulip/zulip.git
synced 2025-11-01 20:44:04 +00:00
hotkeys: Include .editable-section in processing_text().
Prevents accidental hotkey triggering while span.editable-section is focused. Fixes #5232.
This commit is contained in:
@@ -150,7 +150,7 @@ exports.get_keypress_hotkey = function (e) {
|
||||
};
|
||||
|
||||
exports.processing_text = function () {
|
||||
var selector = 'input:focus,select:focus,textarea:focus,#compose-send-button:focus';
|
||||
var selector = 'input:focus,select:focus,textarea:focus,#compose-send-button:focus,.editable-section:focus';
|
||||
return $(selector).length > 0;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user