apply cache-busting to more ckeditor assets
parent
7c1e43e22c
commit
2644e72ad5
|
@ -8,9 +8,6 @@ require(['/api/config'], function(ApiConfig) {
|
|||
}
|
||||
if (resource[resource.length - 1] !== '/' && resource.indexOf('ver=') === -1) {
|
||||
var args = ApiConfig.requireConf.urlArgs;
|
||||
if (resource.indexOf('/bower_components/') !== -1) {
|
||||
args = 'ver=' + window.CKEDITOR.timestamp;
|
||||
}
|
||||
resource += (resource.indexOf('?') >= 0 ? '&' : '?') + args;
|
||||
}
|
||||
return resource;
|
||||
|
|
Loading…
Reference in New Issue