mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 19:07:15 +08:00
fix(composer): fix bug where message body says undefined
This commit is contained in:
parent
25acabc3a0
commit
3b0fc853fb
1 changed files with 4 additions and 1 deletions
|
@ -105,5 +105,8 @@ ContenteditableComponent = React.createClass
|
|||
@props.html
|
||||
else
|
||||
quoteStart = @_htmlQuotedTextStart()
|
||||
@props.html.substr(0, quoteStart) unless quoteStart is -1
|
||||
if quoteStart is -1
|
||||
return @props.html
|
||||
else
|
||||
return @props.html.substr(0, quoteStart)
|
||||
|
||||
|
|
Loading…
Reference in a new issue