From a3c620f78d0ac14703fcb223d7676a48b7c30025 Mon Sep 17 00:00:00 2001 From: mmbyday Date: Wed, 15 May 2019 00:27:57 -0700 Subject: restore height visibility enhancements --- js/Utils.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'js') diff --git a/js/Utils.js b/js/Utils.js index 1dc359d9..b709b2ce 100644 --- a/js/Utils.js +++ b/js/Utils.js @@ -108,6 +108,10 @@ function epoch(){ return Math.floor((new Date).getTime()/1000); } +function roundDownToNearestThousand(_num){ + return Math.floor(_num/1000.0)*1000 +} + function isAlpha(letter){ return letter.match(/^[A-Za-z0-9]+$/) !== null; } function isLowerCaseChar(letter){ return letter === letter.toLowerCase(); } -- cgit v1.2.3