X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=www%2Fjs%2Fremoteglot.js;h=a8c99c8edec484c609a4415d0997142674d68718;hp=b72f4c426119082512ba43af50bec53fe68a3019;hb=7d2173393e1e9a0e6bbb654a1a87a834da8cbcb7;hpb=b827590935f10fd11c664e513f4daf94c52cce2a
diff --git a/www/js/remoteglot.js b/www/js/remoteglot.js
index b72f4c4..a8c99c8 100644
--- a/www/js/remoteglot.js
+++ b/www/js/remoteglot.js
@@ -1219,11 +1219,12 @@ var update_board = function() {
lowdepth = 'Quick look: ';
var lds = [];
Object.keys(data['lowdepth']).forEach(function(depth) {
- lds.push([parseInt(depth), format_short_score(data['lowdepth'][depth])]);
+ let info = data['lowdepth'][depth];
+ lds.push([parseInt(depth), format_short_score(info.slice(0,-1)), info[info.length - 1]]);
});
lds.sort(function(a, b) { return a[0] - b[0]; });
for (var i = 0; i < lds.length; ++i) {
- lowdepth += 'd' + lds[i][0] + ': ' + lds[i][1];
+ lowdepth += 'd' + lds[i][0] + ': ' + lds[i][2] + ' ' + lds[i][1];
if (i != lds.length - 1) {
lowdepth += ', ';
}