Disabled textarea scrolling when signature is on top.
Monotone-Parent: a38e7db24accc932b88afb2f7b8fb6717617e957 Monotone-Revision: 08b02518bde16e0b0865b5640688f3386eefa918 Monotone-Author: crobert@inverse.ca Monotone-Date: 2008-09-29T22:01:44 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
44c1795d12
commit
db936bf021
|
@ -539,7 +539,9 @@ function initMailEditor() {
|
|||
var sigLimit = textContent.lastIndexOf("--");
|
||||
if (sigLimit > -1)
|
||||
signatureLength = (textContent.length - sigLimit);
|
||||
textarea.scrollTop = textarea.scrollHeight;
|
||||
if ( userDefaults["SignaturePlacement"] != "above" ) {
|
||||
textarea.scrollTop = textarea.scrollHeight;
|
||||
}
|
||||
textarea.observe("focus", onTextFirstFocus);
|
||||
textarea.observe("focus", onTextFocus);
|
||||
// textarea.observe("contextmenu", onTextContextMenu);
|
||||
|
|
Loading…
Reference in New Issue