mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-12-28 18:41:34 +08:00
Resolve #516
This commit is contained in:
parent
7dc4b283b3
commit
aa90583116
1 changed files with 1 additions and 1 deletions
|
@ -495,7 +495,7 @@ export class MessageModel extends AbstractModel {
|
|||
// init BlockquoteSwitcher
|
||||
this.body.querySelectorAll('blockquote:not(.rl-bq-switcher)').forEach(node => {
|
||||
node.removeAttribute('style')
|
||||
if (node.textContent.trim() && !node.parentNode.closest('blockquote')) {
|
||||
if (node.textContent.trim() && !node.parentNode.closest?.('blockquote')) {
|
||||
let h = node.clientHeight || getRealHeight(node);
|
||||
if (0 === h || 100 < h) {
|
||||
const el = Element.fromHTML('<span class="rlBlockquoteSwitcher">•••</span>');
|
||||
|
|
Loading…
Reference in a new issue