From a276bc0e4e580d495e87d2a824c682a4e6613ee5 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Sun, 4 May 2014 10:44:37 +0200 Subject: [PATCH] [REMOVED] Logging --- templates/bootstrap/dashboard/js/api.tpl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/templates/bootstrap/dashboard/js/api.tpl b/templates/bootstrap/dashboard/js/api.tpl index a384a980..8dcbd8e6 100644 --- a/templates/bootstrap/dashboard/js/api.tpl +++ b/templates/bootstrap/dashboard/js/api.tpl @@ -155,14 +155,11 @@ $(document).ready(function(){ function refreshBlockData(data) { blocks = data.getdashboarddata.data.pool.blocks; - console.log(blocks); if (blocks[0].height > lastBlock) { lastBlock = blocks[0].height; - console.log('New block is higher, re-draw table'); var table_content = ''; for (index = 0; index < blocks.length; ++index) { - console.log(blocks[index]); - var time = new Date.UTC(blocks[index].time * 1000) + var time = new Date(blocks[index].time * 1000) var table_row = ''; table_row += '' + blocks[index].height + ''; table_row += '' + blocks[index].finder + ''; @@ -183,8 +180,6 @@ $(document).ready(function(){ } table_content += ''; $("tbody#b-blocks").replaceWith(table_content); - } else { - console.log('No table update required'); } }