commit 37c07278d5db4306acbae117adc7d0cadfd93289
parent 8f507d2afd314e9af97da6409ead6787507e55bc
Author: ThomasV <thomasv@gitorious>
Date: Wed, 22 Jul 2015 09:37:17 +0200
update var names
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/www/index.html b/lib/www/index.html
@@ -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,