StatusContent: delete inline quote from markup
This commit is contained in:
parent
2d5acc3236
commit
c3a82cb777
1 changed files with 12 additions and 0 deletions
|
@ -75,6 +75,17 @@ class StatusContent extends React.PureComponent {
|
|||
}
|
||||
}
|
||||
|
||||
deleteInlineQuote() {
|
||||
const node = this.node;
|
||||
if (!node) return;
|
||||
|
||||
const inlineQuote = node.querySelector('.quote-inline');
|
||||
|
||||
if (inlineQuote) {
|
||||
inlineQuote.remove();
|
||||
}
|
||||
}
|
||||
|
||||
setCollapse() {
|
||||
const node = this.node;
|
||||
|
||||
|
@ -106,6 +117,7 @@ class StatusContent extends React.PureComponent {
|
|||
refresh = () => {
|
||||
this.setCollapse();
|
||||
this._updateStatusLinks();
|
||||
this.deleteInlineQuote();
|
||||
this.setOnlyEmoji();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue