From ae766d28c07628e71629a72452261898ea72057a Mon Sep 17 00:00:00 2001 From: Minteck Date: Wed, 21 Dec 2022 18:09:20 +0100 Subject: Update - This is an automated commit --- app/banner.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'app') diff --git a/app/banner.js b/app/banner.js index dc1a06b..5ddb2d2 100644 --- a/app/banner.js +++ b/app/banner.js @@ -68,10 +68,6 @@ async function refreshBanner(offline, french) { data['last_fronted']['relative'] = timeAgo(currentMemberData.last_fronted.timestamp * 1000); } - if (data.id === "scootaloo" && new Date().getDay() % 2 === 0) { - data['relations']['marefriends'] = data['relations']['marefriends'].reverse(); - } - if (offline) { let images = JSON.parse(await localforage.getItem("images")); @@ -131,7 +127,7 @@ async function refreshBanner(offline, french) {
${french ? `Préfixe${data['prefixes'].length > 1 ? 's' : ''} ` : `Prefix${data['prefixes'].length > 1 ? 'es' : ''}`}:
- ${data['prefixes'].join(', ')} + ${data['prefixes'].length > 0 && data['prefixes'][0] !== null ? `${data['prefixes'].join(', ')}` : `-`}
${french ? "" : ` ${french ? "Pronoms :" : "Pronouns:"}
-- cgit