use cache-buster in translator instead of timestamp

This commit is contained in:
psychobunny
2014-05-24 17:58:49 -04:00
parent d5bf83f43f
commit eb69d898ce

View File

@@ -199,8 +199,8 @@
}
function loadClient(language, filename, callback) {
var timestamp = new Date().getTime();
$.getJSON(config.relative_path + '/language/' + language + '/' + filename + '.json?v=' + timestamp, callback);
console.log(config['cache-buster']);
$.getJSON(config.relative_path + '/language/' + language + '/' + filename + '.json?v=' + config['cache-buster'], callback);
}
function loadServer(language, filename, callback) {