summaryrefslogtreecommitdiff
path: root/proto.js
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2013-01-10 16:09:53 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2013-01-10 16:09:53 +0100
commit6e2943c8f3befb0a560826e2d764dac1193bfdc1 (patch)
tree01dadb4624a6616286884c73dc4d5caaa7be65bf /proto.js
parentd935b195a2246fa24d35df7c6fc354ae628a6777 (diff)
Missing attributes are now transmitted properly to the client.
Diffstat (limited to 'proto.js')
-rw-r--r--proto.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/proto.js b/proto.js
index b382a75..eb63afd 100644
--- a/proto.js
+++ b/proto.js
@@ -217,6 +217,10 @@ try {
var txt = document.createTextNode(value);
txtdiv.appendChild(txt);
}
+ if(name == "colour") {
+ var txtdiv = document.getElementById(createId(observeid, id) + "_txt");
+ txtdiv.style.color = value;
+ }
}
f++;
}