clarkwinkelmann Thank you for being willing to help! The problem is that this is one of those extensions done the wrong way where everything is in the extend.php file.
This isn't working:
<script>
flarum.core.compat.extend.extend(flarum.core.compat['components/CommentPost'].prototype, 'oncreate', function (output, context) {
if (context.customExtLastContentHtml !== context.contentHtml) {
// [the code]
context.customExtLastContentHtml = context.contentH tml;
});
</script>
Original code that did work until beta 14:
<script>
flarum.core.compat.extend.extend(flarum.core.compat['components/CommentPost'].prototype, 'config', function(output, isInitialized, context) {
if (context.customExtLastContentHtml !== context.contentHtml) {
// [the code]
context.customExtLastContentHtml = context.contentH tml;
});
</script>