Commit 9d7eb3a5 authored by Daniel Edgecumbe's avatar Daniel Edgecumbe

Fix issue with blockIntervalBar method

parent 1979fbe1
Pipeline #299 passed with stages
in 28 seconds
......@@ -161,6 +161,9 @@ onload = function() {
}
},
blockIntervalBar: function(seconds) {
if (seconds < 0) {
return "";
}
let minutes = Math.floor(seconds / 60);
return "*".repeat(minutes);
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment