X-Git-Url: http://git.scottworley.com/reliable-chat/blobdiff_plain/c301e690609e79727844622d29a0931267a27de4..7310ffeebfda8540d2113fc8c846971a0f913d57:/webclient/rc.html?ds=inline diff --git a/webclient/rc.html b/webclient/rc.html index a8bc337..c1d36b2 100644 --- a/webclient/rc.html +++ b/webclient/rc.html @@ -61,6 +61,18 @@ font-size: 85%; text-align: right; } + .status { + color: #dd8; + } + .local.self { + color: #d8d; + } + .self { + color: #8d8; + } + .me { + color: #bbd; + } .servercount { margin-right: -0.5em; font-size: 70%; @@ -436,10 +448,9 @@ "?id=" + encodeURIComponent(message.ID) + "&text=" + encodeURIComponent(message.Text); for (var i in servers) { - var uri = rcserverbase(servers[i]) + path; - var img = document.createElement("img"); - img.setAttribute("src", uri); - d.appendChild(img); + var xhr = new XMLHttpRequest(); + xhr.open("POST", rcserverbase(servers[i]) + path); + xhr.send(); } }