aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/lib/random-id.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/lib/random-id.js')
-rw-r--r--app/scripts/lib/random-id.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/scripts/lib/random-id.js b/app/scripts/lib/random-id.js
index 78d9e34a5..788f3370f 100644
--- a/app/scripts/lib/random-id.js
+++ b/app/scripts/lib/random-id.js
@@ -1,7 +1,7 @@
const MAX = Number.MAX_SAFE_INTEGER
-let idCounter = Math.round( Math.random() * MAX )
-function createRandomId() {
+let idCounter = Math.round(Math.random() * MAX)
+function createRandomId () {
idCounter = idCounter % MAX
return idCounter++
}