split mail reply on -

This commit is contained in:
Kevin Froman 2019-09-29 16:32:46 -05:00
parent d49811bc2e
commit f0e7810342
2 changed files with 4 additions and 1 deletions

View file

@ -65,7 +65,7 @@ function openReply(bHash, quote, subject){
if (typeof humanReadableCache[key] != 'undefined'){
document.getElementById('draftID').value = humanReadableCache[key]
quote = '\n' + humanReadableCache[key].split(' ').slice(0,3).join(' ') + ' wrote:\n' + splitQuotes.join('\n')
quote = '\n' + humanReadableCache[key].split('-').slice(0,3).join('-') + ' wrote:\n' + splitQuotes.join('\n')
}
else{
quote = '\n' + key.substring(0, 12) + ' wrote:' + '\n' + splitQuotes.join('\n')