load theme json with Ox.VERSION too
This commit is contained in:
parent
4e119b98f1
commit
2e49324ede
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ Ox.load.UI = function(options, callback) {
|
|||
var dfd = new $.Deferred();
|
||||
promises.push(dfd.promise());
|
||||
if (/\.json$/.test(file)) {
|
||||
Ox.getJSON(Ox.PATH + file, function(data) {
|
||||
Ox.getJSON(Ox.PATH + file + '?' + Ox.VERSION, function(data) {
|
||||
var theme = /\/(\w+)\.json$/.exec(file)[1];
|
||||
themes[theme] = data;
|
||||
dfd.resolve();
|
||||
|
|
Loading…
Reference in a new issue