Permalink
Browse files

Better identify scrollPos

  • Loading branch information...
1 parent baa7832 commit 7745c93488d40625e492fad818d218ec97a5f290 @garvinhicking garvinhicking committed Jul 14, 2009
Showing with 2 additions and 0 deletions.
  1. +1 −0 deployment/serendipity_editor.js
  2. +1 −0 serendipity_editor.js
@@ -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;
}

0 comments on commit 7745c93

Please sign in to comment.