From bc00fecba1ecc524c49f0ce536d310b2d73d1909 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sat, 9 Jun 2018 06:41:55 -0400 Subject: [PATCH] fix infinite loop at export time --- js/start.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/start.js b/js/start.js index 6e5d451..afde952 100644 --- a/js/start.js +++ b/js/start.js @@ -536,7 +536,7 @@ uBOScope.exportDataFromPrivexData = function(callback) { storageKeys.push('monthly-' + monthId); monthId += 1; if ( monthId % 1000 > 11 ) { - monthId = Math.round(monthId / 1000) + 1000; + monthId = Math.round(monthId / 1000 + 1) * 1000; } }