mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-01 21:49:21 +03:00
Fix strange quoting behaviour (#1225)
This commit is contained in:
parent
aecb0b2500
commit
ca4897038a
3 changed files with 26 additions and 3 deletions
|
|
@ -14,7 +14,8 @@ import {
|
|||
import {
|
||||
trim, isNormal, isArray, inArray,
|
||||
pInt, pString, plainToHtml,
|
||||
windowResize, findEmailAndLinks
|
||||
windowResize, findEmailAndLinks,
|
||||
getRealHeight
|
||||
} from 'Common/Utils';
|
||||
|
||||
import {
|
||||
|
|
@ -459,7 +460,14 @@ class MessageUserStore
|
|||
{
|
||||
$oList.each(function() {
|
||||
const $this = $(this); // eslint-disable-line no-invalid-this
|
||||
if ('' !== trim($this.text()))
|
||||
|
||||
let h = $this.height();
|
||||
if (0 === h)
|
||||
{
|
||||
h = getRealHeight($this);
|
||||
}
|
||||
|
||||
if ('' !== trim($this.text()) && (0 === h || 100 < h))
|
||||
{
|
||||
$this.addClass('rl-bq-switcher hidden-bq');
|
||||
$('<span class="rlBlockquoteSwitcher"><i class="icon-ellipsis" /></span>')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue