Better identify scrollPos
This commit is contained in:
parent
f168a7578d
commit
ec510b8abe
@ -58,6 +58,7 @@ function IEWrap(txtarea, lft, rgt) {
|
||||
}
|
||||
|
||||
function wrapSelection(txtarea, lft, rgt) {
|
||||
scrollPos = false;
|
||||
if (txtarea.scrollTop) {
|
||||
scrollPos = txtarea.scrollTop;
|
||||
}
|
||||
|
@ -58,6 +58,7 @@ function IEWrap(txtarea, lft, rgt) {
|
||||
}
|
||||
|
||||
function wrapSelection(txtarea, lft, rgt) {
|
||||
scrollPos = false;
|
||||
if (txtarea.scrollTop) {
|
||||
scrollPos = txtarea.scrollTop;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user