projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e9d48d
)
Rooms with new messages boldface in room list
author
Art Cancro
<ajc@citadel.org>
Sun, 28 Apr 2019 21:57:43 +0000
(17:57 -0400)
committer
Art Cancro
<ajc@citadel.org>
Sun, 28 Apr 2019 21:57:43 +0000
(17:57 -0400)
webcit-ng/static/js/main.js
patch
|
blob
|
history
diff --git
a/webcit-ng/static/js/main.js
b/webcit-ng/static/js/main.js
index cea3df2bde11240d943bb6378e203619aea66025..3c89914ac57b5d17a071a242eed388f9ded622fc 100644
(file)
--- a/
webcit-ng/static/js/main.js
+++ b/
webcit-ng/static/js/main.js
@@
-151,8
+151,10
@@
function display_room_list_renderer(data) {
}
new_roomlist_text = new_roomlist_text +
"<li>"
+ + (data[i].hasnewmsgs ? "<b>" : "")
+ "<a href=\"javascript:gotoroom('" + escapeJS(escapeHTML(data[i].name)) + "');\">"
+ escapeHTML(data[i].name)
+ + (data[i].hasnewmsgs ? "</b>" : "")
+ "</a></li>"
;
}