Skip to content
This repository was archived by the owner on Oct 2, 2023. It is now read-only.

Commit bc00fec

Browse files
committed
fix infinite loop at export time
1 parent ca488e1 commit bc00fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/start.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ uBOScope.exportDataFromPrivexData = function(callback) {
536536
storageKeys.push('monthly-' + monthId);
537537
monthId += 1;
538538
if ( monthId % 1000 > 11 ) {
539-
monthId = Math.round(monthId / 1000) + 1000;
539+
monthId = Math.round(monthId / 1000 + 1) * 1000;
540540
}
541541
}
542542

0 commit comments

Comments
 (0)