From f1d87448dcccb9343b90a42cdd726914d35f3715 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?An=C3=B4ncer?= <103201375+AN0NCER@users.noreply.github.com> Date: Sat, 14 Sep 2024 00:04:47 +0200 Subject: [PATCH] Update list.js --- javascript/pages/list.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/javascript/pages/list.js b/javascript/pages/list.js index 982438e..6f2d4b6 100644 --- a/javascript/pages/list.js +++ b/javascript/pages/list.js @@ -234,7 +234,7 @@ async function LoadingAnimeFromTask(task = task_loading) { * @returns Возваращет готовый html картки аниме */ function GenerateCardHtml(response, score) { - return `
${response.russian}
${score > 0 ? `
${score}
` : ""}
${new Date(response.aired_on).getFullYear()}
${response.score}
`; + return `
${response.russian}
${score > 0 ? `
${score}
` : ""}
${new Date(response.aired_on).getFullYear()}
${response.score}
`; } } @@ -342,4 +342,4 @@ function AnimateHide() { easing: 'easeInOutQuad', duration: 1000 }); -} \ No newline at end of file +}