From 098c862fb2e641be19a05e69364f9612b6069a3a Mon Sep 17 00:00:00 2001 From: David Vazgenovich Shakaryan Date: Mon, 24 Feb 2014 01:03:48 -0800 Subject: Aesthetical improvements. --- tempo.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tempo.js') diff --git a/tempo.js b/tempo.js index 04c1071..2323d3f 100644 --- a/tempo.js +++ b/tempo.js @@ -19,10 +19,11 @@ function updateTime() { var dm = date.getMonth(); var dy = date.getFullYear(); - var str_t = padTime(h) + ":" + padTime(m) + ":" + padTime(s); var str_d = dd + " " + months[dm] + " " + dy; - document.getElementById("timeval").innerHTML = str_t; + document.getElementById("h").innerHTML = padTime(h); + document.getElementById("m").innerHTML = padTime(m); + document.getElementById("s").innerHTML = padTime(s); document.getElementById("dateval").innerHTML = str_d; } -- cgit v1.2.3-70-g09d2