summaryrefslogtreecommitdiff
path: root/lib/scripts/textselection.js
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2014-01-05 16:25:21 +0000
committerAnika Henke <anika@selfthinker.org>2014-01-05 16:25:21 +0000
commit8491e52805a9aaef90168f1417c6e0806fb7c5d7 (patch)
tree536ad50878f0ac6f6815db91f8bcb4819bc092ae /lib/scripts/textselection.js
parent6fdd11e032b654dd27de346f7e54231ee043d7ef (diff)
parentdfaf5f6c54597f81b1a8b777f55b89c93f87a345 (diff)
downloadrpg-8491e52805a9aaef90168f1417c6e0806fb7c5d7.tar.gz
rpg-8491e52805a9aaef90168f1417c6e0806fb7c5d7.tar.bz2
Merge remote-tracking branch 'origin/master' into extension_manager
Diffstat (limited to 'lib/scripts/textselection.js')
-rw-r--r--lib/scripts/textselection.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/scripts/textselection.js b/lib/scripts/textselection.js
index bd80e9341..26b4196f2 100644
--- a/lib/scripts/textselection.js
+++ b/lib/scripts/textselection.js
@@ -104,7 +104,6 @@ function getSelection(textArea) {
}
} while ((!before_finished || !selection_finished));
-
// count number of newlines in str to work around stupid IE selection bug
var countNL = function(str) {
var m = str.split("\r\n");
@@ -230,4 +229,3 @@ function insertAtCarret(textAreaID, text){
var selection = getSelection(txtarea);
pasteText(selection,text,{nosel: true});
}
-