use cache-buster in translator instead of timestamp

v1.18.x
psychobunny
parent d5bf83f43f
commit eb69d898ce

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

Loading…
Cancel
Save