Mail - Fix cursor did not start at the top of the body for Firefox in plaintext mode

This commit is contained in:
nathangray 2017-03-14 11:16:04 -06:00
parent 2a0133f93b
commit 86b851ba7a

View File

@ -259,7 +259,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
{