mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-22 01:22:51 -06:00
Wide Coverage Demo Web App: bug fix: swapping source and target works again
This commit is contained in:
@@ -273,7 +273,7 @@ wc.colors=function() {
|
|||||||
|
|
||||||
wc.swap=function() {
|
wc.swap=function() {
|
||||||
var f=wc.f
|
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()
|
f.input.value=wc.os.map(txt).join("").trimRight()
|
||||||
var from=f.from.value
|
var from=f.from.value
|
||||||
f.from.value=f.to.value
|
f.from.value=f.to.value
|
||||||
|
|||||||
Reference in New Issue
Block a user