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

Commit f0d01bf

Browse files
committed
load assets with parameter
1 parent b475185 commit f0d01bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

audit.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Audit.prototype.startAudit = function() {
2929
Audit.prototype.loadData = function() {
3030
var self = this;
3131
self.sourceData = $.ajax({
32-
url: self.url + new Date().getTime(),
32+
url: self.url + "?" + new Date().getTime(),
3333
async: false
3434
}).responseText;
3535
};
@@ -65,7 +65,7 @@ function ObjLoader(url) {
6565
ObjLoader.prototype.loadData = function() {
6666
var self = this;
6767
self.sourceData = $.ajax({
68-
url: self.url + new Date().getTime(),
68+
url: self.url + "?" + new Date().getTime(),
6969
async: false
7070
}).responseText;
7171
self.objects = JSON.parse(self.sourceData);

0 commit comments

Comments
 (0)