projects
/
brisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c11f567
)
fix some missing nickname recognition
post-bold2
author
Matteo Nastasi
<nastasi@alternativeoutput.it>
Tue, 21 Apr 2020 05:24:43 +0000
(07:24 +0200)
committer
Matteo Nastasi
<nastasi@alternativeoutput.it>
Tue, 21 Apr 2020 05:24:43 +0000
(07:24 +0200)
web/room.js
patch
|
blob
|
history
diff --git
a/web/room.js
b/web/room.js
index
7085be4
..
0d47216
100644
(file)
--- a/
web/room.js
+++ b/
web/room.js
@@
-294,8
+294,8
@@
function j_stand_cont(ddata)
if (standup_data_old == null || data.length < 4) {
content = '<table cols="'+(data.length < 4 ? data.length : 4)+'" class="table_standup">';
for (i = 0 ; i < data.length ; i++) {
if (standup_data_old == null || data.length < 4) {
content = '<table cols="'+(data.length < 4 ? data.length : 4)+'" class="table_standup">';
for (i = 0 ; i < data.length ; i++) {
- if (d
d
ata[i][1] == window.myname) {
- d
d
ata[i][0] |= 1;
+ if (data[i][1] == window.myname) {
+ data[i][0] |= 1;
}
if ((i % 4) == 0)
content += '<tr>';
}
if ((i % 4) == 0)
content += '<tr>';
@@
-344,6
+344,9
@@
function j_stand_cont(ddata)
if (standup_data_old[i][0] != data[e][0] ||
standup_data_old[i].length != data[e].length ||
(data[e].length == 3 && standup_data_old[i][2] != data[e][2])) {
if (standup_data_old[i][0] != data[e][0] ||
standup_data_old[i].length != data[e].length ||
(data[e].length == 3 && standup_data_old[i][2] != data[e][2])) {
+ if (data[e][1] == window.myname) {
+ data[e][0] |= 1;
+ }
arr_mod[idx_mod_n] = data[e];
idx_mod[idx_mod_n++] = i;
}
arr_mod[idx_mod_n] = data[e];
idx_mod[idx_mod_n++] = i;
}
@@
-359,6
+362,9
@@
function j_stand_cont(ddata)
}
}
if (i == standup_data_old.length) {
}
}
if (i == standup_data_old.length) {
+ if (data[e][1] == window.myname) {
+ data[e][0] |= 1;
+ }
// console.log("ADD: "+data[e][1]);
arr_add[idx_add_n] = data[e];
map_add[idx_add_n++] = e;
// console.log("ADD: "+data[e][1]);
arr_add[idx_add_n] = data[e];
map_add[idx_add_n++] = e;