From d3e1caeff46bff0d8b7fe711c00846e92ecc8db0 Mon Sep 17 00:00:00 2001 From: singhayushh Date: Wed, 24 Mar 2021 12:53:51 +0530 Subject: [PATCH 1/2] fixed empty ongoing-anime list(#10) --- controllers/index.controller.js | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/controllers/index.controller.js b/controllers/index.controller.js index 0dba147..a6bc337 100644 --- a/controllers/index.controller.js +++ b/controllers/index.controller.js @@ -113,15 +113,18 @@ const RenderHomePage = async (req, res, next) => { mangass = await mangaParkObj.getMangaList(1); const mangaUpdateList = mangass.LatestManga; - res.render("index", { - title: "Mirai", - navList: navList, - updateList: updateList, - mangaUpdateList: mangaUpdateList, - newAnimeList: newAnimeList, - popularList: popularList, - ongoingList: ongoingList, - }); + setTimeout(function(){ + res.render("index", { + title: "Mirai", + navList: navList, + updateList: updateList, + mangaUpdateList: mangaUpdateList, + newAnimeList: newAnimeList, + popularList: popularList, + ongoingList: ongoingList, + }); + }, + 3000); }; module.exports = RenderHomePage; From a3f53a177aa63d0049de0c03c20abd506a2d312f Mon Sep 17 00:00:00 2001 From: singhayushh Date: Wed, 24 Mar 2021 13:19:07 +0530 Subject: [PATCH 2/2] anime list column expanded to full width (#12) --- views/animelist.ejs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/animelist.ejs b/views/animelist.ejs index 1daed9f..aa20b61 100644 --- a/views/animelist.ejs +++ b/views/animelist.ejs @@ -14,7 +14,7 @@
-
+

Found <%= series.length %> categories in total