summaryrefslogtreecommitdiff
path: root/proto.js
diff options
context:
space:
mode:
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++;
}