Skip to content

Commit

Permalink
Fixing jumpy clock number
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Jan 6, 2016
1 parent 3fa3ce1 commit 27ceb15
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion panoramix/static/panoramix.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ var px = (function() {
var timer;
var stopwatch = function () {
dttm += 10;
$('#timer').text(Math.round(dttm/10)/100 + " sec");
num = dttm / 1000;
$('#timer').text(num.toFixed(2) + " sec");
}
var qrystr = '';
slice = {
Expand Down

0 comments on commit 27ceb15

Please sign in to comment.