]> git.sesse.net Git - remoteglot/blobdiff - www/js/remoteglot.js
Show the engine ID in the footer.
[remoteglot] / www / js / remoteglot.js
index fe5d266a672f71ee1aaccad7f8a34e4f906dabac..5ce7426b4f142e7105acdec50cb00d857168010b 100644 (file)
@@ -518,6 +518,11 @@ var update_board = function(data, num_viewers) {
                $("#numviewers").text(num_viewers + " current viewers");
        }
 
+       // The engine id.
+       if (data['id'] && data['id']['name'] !== null) {
+               $("#engineid").text(data['id']['name']);
+       }
+
        // The score.
        if (data['score'] !== null) {
                $("#score").text(data['score']);