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

Commit

Permalink
fix infinite loop at export time
Browse files Browse the repository at this point in the history
  • Loading branch information
gorhill committed Jun 9, 2018
1 parent ca488e1 commit bc00fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit bc00fec

Please sign in to comment.