Added caching versions to some of the images which are loaded by js

This commit is contained in:
Caleb James DeLisle
2017-06-30 12:11:44 +02:00
parent 9e91739044
commit c25f2df721
4 changed files with 23 additions and 15 deletions

View File

@@ -4,6 +4,8 @@ define([
'/api/config'
], function ($, Config, ApiConfig) {
var urlArgs = ApiConfig.requireConf.urlArgs;
var Messages = {};
var Bar = {
@@ -443,7 +445,7 @@ define([
'class': "cryptpad-link"
}).appendTo($topContainer);
var $imgTag = $('<img>', {
src: "/customize/cryptofist_mini.png",
src: "/customize/cryptofist_mini.png?" + urlArgs,
alt: "Cryptpad"
});