]> git.scottworley.com Git - reliable-chat/commitdiff
CSS class for local messages
authorScott Worley <sworley@chkno.net>
Sun, 19 Aug 2012 15:41:34 +0000 (08:41 -0700)
committerScott Worley <sworley@chkno.net>
Sun, 19 Aug 2012 15:41:34 +0000 (08:41 -0700)
webclient/rc.html

index 7f3e8d1bfaaca05d536bbe3a1cfc9b0004b5bf11..a8bc337a2193ebbc8c6506b97b5f9772afbb63e7 100644 (file)
                        type = "status";
                } else if (/^\* /.test(message.Text)) {
                        type = "me";
                        type = "status";
                } else if (/^\* /.test(message.Text)) {
                        type = "me";
+               } else if (/^-!- /.test(message.Text)) {
+                       type = "local";
                } else {
                        type = "text";
                }
                } else {
                        type = "text";
                }