fix: prevent errant body string on title edit

This commit is contained in:
asajjad2
2025-09-29 16:00:24 +05:00
parent 0c77083e3a
commit 761ad42290

View File

@@ -7,7 +7,10 @@
tagName: 'form',
events: {
submit: 'updateHandler',
'click .post-cancel': 'cancelHandler'
'click .post-cancel': 'cancelHandler',
'keypress input:not(.wmd-input)': function(event) {
return DiscussionUtil.ignoreEnterKey(event);
}
},
attributes: {