Fix path in random theme

This commit is contained in:
Alexandre Aubin 2019-03-14 20:34:47 +01:00
parent 888030bb99
commit 6a4bc62ef1

View file

@ -96,18 +96,15 @@ var ynhLib = {
availableColors: ["cyan", "fushia", "green", "orange", "pink", "purple", "red", "yellow"], availableColors: ["cyan", "fushia", "green", "orange", "pink", "purple", "red", "yellow"],
makeLogoStyleString: function () { makeLogoStyleString: function () {
return 'background-image: url("/ynhtheme/logo/'+ ynhLib.random.entry(ynhLib.logo.availableColors) +'.svg")'; return 'background-image: url("/yunohost/sso/assets/themes/random/logo/'+ ynhLib.random.entry(ynhLib.logo.availableColors) +'.svg")';
}, },
}, },
// ¬
//
}; };
//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ // ######################################################################
//\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/ // ######################################################################
ynhLib.onWindowLoad(function () { ynhLib.onWindowLoad(function () {