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 f2a8b7d029
commit c01d0edeff

View File

@ -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
{