respect animated mfm switch for markdown too

This commit is contained in:
Johann150 2023-02-12 16:33:49 +01:00
parent 4ca3f4d8f2
commit 5fe51d063c
Signed by: Johann150
GPG key ID: 9EE6577A2A06F8F1

View file

@ -51,7 +51,9 @@ export const Markdown = defineComponent({
return h( return h(
'span', 'span',
{ class: 'markdown-container' }, {
class: 'markdown-container ' + (this.$store.state.animatedMfm ? 'animated-mfm' : ''),
},
mapNodes(dom.childNodes) mapNodes(dom.childNodes)
); );
}, },