aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--static/script.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/script.js b/static/script.js
index b7526ee5..b94e8f06 100644
--- a/static/script.js
+++ b/static/script.js
@@ -5,7 +5,7 @@ function round_time (time, fraction) {
function time_to_percent (time) {
// Decimal time
- return hour_to_part(time.getHours() + (time.getMinutes() / 60)) + "%"
+ return (time.getHours() + (time.getMinutes() / 60)) * 100/24 + "%"
}
function parents_until (element, obj) {