We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2024519 commit 84d8c8bCopy full SHA for 84d8c8b
web_src/js/features/repo-legacy.js
@@ -477,8 +477,8 @@ async function onEditContent(event) {
477
e.preventDefault();
478
saveAndRefresh(dz);
479
});
480
- editContentZone.on('ce-quick-submit', () => {
481
- editContentZone.find('.save.button').trigger('click');
+ editContentZone.addEventListener('ce-quick-submit', () => {
+ editContentZone.querySelector('.save.button').dispatchEvent(new Event('click'));
482
483
} else {
484
comboMarkdownEditor = getComboMarkdownEditor(editContentZone.querySelector('.combo-markdown-editor'));
0 commit comments