Explorar el Código

Make IndexeDB version an integer

Thibaut hace 10 años
padre
commit
5128513a2f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      assets/javascripts/app/db.coffee

+ 1 - 1
assets/javascripts/app/db.coffee

@@ -262,4 +262,4 @@ class app.DB
       false
 
   indexedDBVersion: ->
-    if app.config.env is 'production' then app.config.version else Date.now() / 1000
+    if app.config.env is 'production' then parseInt(app.config.version, 10) else Date.now() / 1000