mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +01:00
Mail - Fix initial cursor position when replying to text emails
This commit is contained in:
parent
a7fcb77d1b
commit
eb20e4da2a
@ -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