From c01d0edeff688dfab5068341b2586a9c3448f8ca Mon Sep 17 00:00:00 2001 From: nathangray Date: Tue, 14 Mar 2017 11:16:04 -0600 Subject: [PATCH] Mail - Fix cursor did not start at the top of the body for Firefox in plaintext mode --- mail/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/js/app.js b/mail/js/app.js index 6ac8967629..77345819dc 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -286,7 +286,7 @@ app.classes.mail = AppJS.extend( // focus jQuery(plainText.node).focus(); // get the cursor to the top of the textarea - if (typeof plainText.node.setSelectionRange !='undefined') plainText.node.setSelectionRange(0); + if (typeof plainText.node.setSelectionRange !='undefined') plainText.node.setSelectionRange(0,0); } else {