From ec510b8abe1a429fd0a7917875d24eb230d67ab9 Mon Sep 17 00:00:00 2001 From: Garvin Hicking Date: Tue, 14 Jul 2009 10:14:46 +0000 Subject: [PATCH] Better identify scrollPos --- deployment/serendipity_editor.js | 1 + serendipity_editor.js | 1 + 2 files changed, 2 insertions(+) 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; }