Wide Coverage Demo Web App: bug fix: swapping source and target works again

This commit is contained in:
hallgren
2014-05-08 14:18:03 +00:00
parent 6f6e9096e8
commit 1fbe17aabe

View File

@@ -273,7 +273,7 @@ wc.colors=function() {
wc.swap=function() {
var f=wc.f
function txt(r) { return r.t.text }
function txt(so) { return so.text }
f.input.value=wc.os.map(txt).join("").trimRight()
var from=f.from.value
f.from.value=f.to.value