Explorar o código

Update babylon.database.ts

finscn %!s(int64=7) %!d(string=hai) anos
pai
achega
695c34970a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Tools/babylon.database.ts

+ 1 - 1
src/Tools/babylon.database.ts

@@ -74,7 +74,7 @@ module BABYLON {
             if (navigator.onLine) {
                 // Adding a timestamp to by-pass browsers' cache
                 timeStampUsed = true;
-                manifestURL = manifestURL + (manifestURL.match(/\?/) == null ? "?" : "&") + (new Date()).getTime();
+                manifestURL = manifestURL + (manifestURL.match(/\?/) == null ? "?" : "&") + Date.now();
             }
             xhr.open("GET", manifestURL, true);