summaryrefslogtreecommitdiff
path: root/js/interface.js
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-02-17 18:05:27 +0100
committerPatrick Simianer <p@simianer.de>2016-02-17 18:05:27 +0100
commit53e8b1106a1ebaf13a5482477b67e04aacd4405d (patch)
treeabc62f03d0306a780a9f9cbf1a869925fdfc235f /js/interface.js
parentaa2832b55b1b9825ad626aa0483a97c5ba9c991c (diff)
prep/notes for beta test, get feature weights/rates
Diffstat (limited to 'js/interface.js')
-rw-r--r--js/interface.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/interface.js b/js/interface.js
index 781dfde..3341575 100644
--- a/js/interface.js
+++ b/js/interface.js
@@ -1,5 +1,5 @@
/*
- * (common) global vars
+ * Global vars
*
*/
var data, // global data object
@@ -244,7 +244,7 @@ var next = function ()
send_data["original_svg"] = document.getElementById("original_svg").value;
} else {
post_edit = $.trim(target_textarea.value);
- send_data["post_edit"] = post_edit;
+ send_data["post_edit"] = encodeURIComponent(post_edit);
send_data['type'] = 't';
}