From 5a4dfb0ed3ffaf065665422f3aa85d495d0c191f Mon Sep 17 00:00:00 2001 From: Kaiko Kaur Date: Mon, 30 May 2005 19:16:27 +0200 Subject: don't jump to top after adding tag with quickbutton darcs-hash:20050530171627-2af0c-c8730ed1e921cdb14f9cf96b8f4056a49a5acab1.gz --- script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script.js') diff --git a/script.js b/script.js index a858db50e..f43e9abbf 100644 --- a/script.js +++ b/script.js @@ -197,8 +197,8 @@ function insertTags(tagOpen, tagClose, sampleText) { }else{ txtarea.selectionStart=startPos+tagOpen.length; txtarea.selectionEnd=startPos+tagOpen.length+myText.length; - txtarea.scrollTop=scrollTop; } + txtarea.scrollTop=scrollTop; // All others } else { var copy_alertText=alertText; -- cgit v1.2.3