mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-26 18:00:34 +00:00
[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:
parent
d8fa9b1580
commit
8f10247585
1 changed files with 2 additions and 2 deletions
|
@ -477,8 +477,8 @@ async function onEditContent(event) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
saveAndRefresh(dz);
|
saveAndRefresh(dz);
|
||||||
});
|
});
|
||||||
$editContentZone.on('ce-quick-submit', () => {
|
editContentZone.on('ce-quick-submit', () => {
|
||||||
$editContentZone.find('.save.button').trigger('click');
|
editContentZone.find('.save.button').trigger('click');
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
comboMarkdownEditor = getComboMarkdownEditor(editContentZone.querySelector('.combo-markdown-editor'));
|
comboMarkdownEditor = getComboMarkdownEditor(editContentZone.querySelector('.combo-markdown-editor'));
|
||||||
|
|
Loading…
Reference in a new issue