summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2015-11-06 12:38:08 +0100
committerPatrick Simianer <p@simianer.de>2015-11-06 12:38:08 +0100
commit3e0667b633f27c3a4686983912e73ea2f11bbfff (patch)
treeb4f1c17fde6c149502c1f9f9e3d3d68c686250f4 /js
parentf257dbc12f93dd454b5d7e8374f08f742cc202f5 (diff)
fix empty box bug
Diffstat (limited to 'js')
-rw-r--r--js/lfpe.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/lfpe.js b/js/lfpe.js
index dc5f5e2..fec5d99 100644
--- a/js/lfpe.js
+++ b/js/lfpe.js
@@ -170,7 +170,7 @@ function Next()
// extract data from interfaces
if (ui_type == 'g') {
- post_edit = JSON.parse(DE_extract_data())["target"].join(" ")
+ post_edit = trim(JSON.parse(DE_extract_data())["target"].join(" "))
} else {
post_edit = trim(target_textarea.value);
}