mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-20 09:13:18 +00:00
Move quote post fallback removal import-time (#36055)
This commit is contained in:
parent
13d970b5ae
commit
1c8990927a
2 changed files with 19 additions and 10 deletions
|
|
@ -138,16 +138,6 @@ class StatusContent extends PureComponent {
|
|||
|
||||
onCollapsedToggle(collapsed);
|
||||
}
|
||||
|
||||
// Remove quote fallback link from the DOM so it doesn't
|
||||
// mess with paragraph margins
|
||||
if (!!status.get('quote')) {
|
||||
const inlineQuote = node.querySelector('.quote-inline');
|
||||
|
||||
if (inlineQuote) {
|
||||
inlineQuote.remove();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
handleMouseEnter = ({ currentTarget }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue