forked from 0x2620/oxjs
never load Ox.js and Ox.UI json files from cache
This commit is contained in:
parent
02696ae741
commit
2cbcb9d086
2 changed files with 3 additions and 3 deletions
|
|
@ -40,7 +40,7 @@ window.Ox = {
|
|||
|
||||
function loadJSON(callback) {
|
||||
var req = new XMLHttpRequest();
|
||||
req.open('GET', path + 'Ox/json/Ox.json', true);
|
||||
req.open('GET', path + 'Ox/json/Ox.json?' + Ox.random(1000000), true);
|
||||
req.onreadystatechange = function() {
|
||||
if (req.readyState == 4) {
|
||||
if (req.status == 200) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue