X-Git-Url: https://git.sesse.net/?p=remoteglot-book;a=blobdiff_plain;f=www%2Fjs%2Fbook.js;h=0b1e4372264a7afa77d9cae8dbdf0c5bfbf464e2;hp=c54fb94e700d9a8e1338f8c9db38ebada169f20e;hb=4fa00c4fbfb86465b2d50bb0b5642f00c6b9329b;hpb=171536ef785ed241ff9b96945fd8e57082cb248a diff --git a/www/js/book.js b/www/js/book.js index c54fb94..0b1e437 100644 --- a/www/js/book.js +++ b/www/js/book.js @@ -177,6 +177,10 @@ var show_lines = function(data, game) { var line = lines[i]; var tr = document.createElement("tr"); + if (line[0] === undefined || line[0] === null) { + $(tr).addClass("totals"); + } + for (var j = 0; j < line.length; ++j) { if (line[j] === null) { add_td(tr, "");