From 6a4bc62ef1e853932fc2e9ef44391bb1cc7c463c Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 14 Mar 2019 20:34:47 +0100 Subject: [PATCH] Fix path in random theme --- portal/assets/themes/random/custom.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/portal/assets/themes/random/custom.js b/portal/assets/themes/random/custom.js index 04bfa1c..acb7783 100644 --- a/portal/assets/themes/random/custom.js +++ b/portal/assets/themes/random/custom.js @@ -96,18 +96,15 @@ var ynhLib = { availableColors: ["cyan", "fushia", "green", "orange", "pink", "purple", "red", "yellow"], 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 () {