summaryrefslogtreecommitdiff
path: root/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'script.js')
-rw-r--r--script.js2
1 files changed, 1 insertions, 1 deletions
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;