summaryrefslogtreecommitdiff
path: root/src/www/js/wc.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/www/js/wc.js')
-rw-r--r--src/www/js/wc.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/www/js/wc.js b/src/www/js/wc.js
index 6ffc21142..e35b8f9c9 100644
--- a/src/www/js/wc.js
+++ b/src/www/js/wc.js
@@ -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