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.
2 parents bb2b6c0 + 8621714 commit 4cee513Copy full SHA for 4cee513
src/components/card/CommentForm.vue
@@ -125,7 +125,7 @@ export default {
125
if (mention.attributes['data-at-embedded'].value === 'true') {
126
mentionValue = mention.parentNode.parentNode.querySelector('.user-bubble__wrapper').attributes['data-mention-id'].value
127
} else {
128
- mentionValue = mention.firstChild.attributes['data-mention-id'].value
+ mentionValue = mention.firstElementChild.attributes['data-mention-id'].value
129
}
130
if (mentionValue.indexOf(' ') !== -1) {
131
mention.replaceWith(' @"' + mentionValue + '" ')
0 commit comments