diff --git a/deployment/serendipity_editor.js b/deployment/serendipity_editor.js index af096f4c..81a4a5c6 100644 --- a/deployment/serendipity_editor.js +++ b/deployment/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; } diff --git a/serendipity_editor.js b/serendipity_editor.js index af096f4c..81a4a5c6 100644 --- a/serendipity_editor.js +++ b/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; }