tupdate var names - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 37c07278d5db4306acbae117adc7d0cadfd93289 DIR parent 8f507d2afd314e9af97da6409ead6787507e55bc HTML Author: ThomasV <thomasv@gitorious> Date: Wed, 22 Jul 2015 09:37:17 +0200 update var names Diffstat: M lib/www/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/lib/www/index.html b/lib/www/index.html t@@ -37,8 +37,8 @@ if (id) { $(function () { var current; var max = 100; - var initial = data.timestamp; - var duration = data.expiration; + var initial = data.time; + var duration = data.exp; var current = 100 * (Math.floor(Date.now()/1000) - initial)/duration; $("#progressbar").progressbar({ value: current,