mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
Mail - Fix initial cursor position when replying to text emails
This commit is contained in:
parent
1f042783f7
commit
0775343c8e
@ -299,7 +299,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.is(":hidden")) plainText.node.setSelectionRange(0,0);
|
||||
if (typeof plainText.node.setSelectionRange !='undefined' && !jQuery(plainText.node).is(":hidden")) plainText.node.setSelectionRange(0,0);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user