From: Matteo Nastasi Date: Fri, 17 Apr 2020 06:30:16 +0000 (+0200) Subject: add bold for your user to js code j_stand_cont() X-Git-Tag: v5.10.0~57 X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=commitdiff_plain;h=0d60b14fe4b03dfc9ea483e30c8b3dcd15a2b6ab;p=brisk.git add bold for your user to js code j_stand_cont() --- diff --git a/web/room.js b/web/room.js index b6ee5b3..f3a5d88 100644 --- a/web/room.js +++ b/web/room.js @@ -278,9 +278,6 @@ function j_stand_cont(ddata) data = new Array(); for (i = 0, ii = 0 ; ii < ddata.length ; ii++) { - if (ddata[ii][1] == window.myname) { - ddata[ii][0] |= 1; - } if ((ddata[ii][0] & 0x02) == 0) { continue; } @@ -297,6 +294,9 @@ function j_stand_cont(ddata) if (standup_data_old == null || data.length < 4) { content = ''; for (i = 0 ; i < data.length ; i++) { + if (ddata[i][1] == window.myname) { + ddata[i][0] |= 1; + } if ((i % 4) == 0) content += ''; content += '
';