1
0
forked from GitHub/gf-core

simple translator: bug fix

A bug in the line break change prevented text import from working.
This commit is contained in:
hallgren
2012-09-20 07:49:13 +00:00
parent c71c5b2140
commit 6d24f74393

View File

@@ -483,7 +483,7 @@ Translator.prototype.import=function(el) {
}
function done() {
function add_segments(text) {
var ls=lines(text)
var ls=window.lines(text)
var segs= punct.firstChild.checked
? split_punct(text,punctchars.value)
: paras.firstChild.checked