]> git.sesse.net Git - remoteglot-book/blobdiff - www/js/book.js
Load and display the root PGN.
[remoteglot-book] / www / js / book.js
index 796b04ed8b8d7e3caa5fed7433b0cf1430e7d135..ab5e4112e04a28ebf740234609f807e732d59ec9 100644 (file)
@@ -61,6 +61,7 @@ var direction = 1;
 var show_lines = function(data, game) {
        var moves = data['moves'];
        $('#numviewers').text(data['opening']);
+       $('#rootgame').text(data['root_pgn']);
        var total_num = 0;
        for (var i = 0; i < moves.length; ++i) {
                var move = moves[i];