[BUG] Fix Ctrl+Enter on editor (followup)

s/$editContentZone/editContentZone/

because the variable was renamed by

Remove jQuery `.attr` from the code comments (#30112)
This commit is contained in:
Earl Warren 2024-03-29 12:23:27 +01:00
parent d8fa9b1580
commit 8f10247585
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 0579CB2928A78A00

View file

@ -477,8 +477,8 @@ async function onEditContent(event) {
e.preventDefault();
saveAndRefresh(dz);
});
$editContentZone.on('ce-quick-submit', () => {
$editContentZone.find('.save.button').trigger('click');
editContentZone.on('ce-quick-submit', () => {
editContentZone.find('.save.button').trigger('click');
});
} else {
comboMarkdownEditor = getComboMarkdownEditor(editContentZone.querySelector('.combo-markdown-editor'));