From 5f02e8df8b033847c78c2a622bf806e4bb4c97a0 Mon Sep 17 00:00:00 2001 From: Cofresi Date: Wed, 9 Nov 2016 18:25:44 -0400 Subject: [PATCH] fill $("#time").val once again for the time parameter in gobject cmd --- index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.html b/index.html index 67878d7..8298c8c 100644 --- a/index.html +++ b/index.html @@ -40,6 +40,8 @@ $.getJSON("http://195.141.143.55:3001/insight-api-dash/status?q=getinfo", function( data ) { + $("#time").val(Math.floor((new Date).getTime() / 1000)); + console.log('time: ' + $("#time").val()); blockheight = data.info.blocks; console.log('network: ' + gov.network); var budgetPaymentCycleBlocks = getBudgetPaymentCycleBlocks();