From 1a3faa8f1aa5ade45b8cbb34aa33df669dec242f Mon Sep 17 00:00:00 2001 From: abhishek Date: Mon, 26 Aug 2024 17:05:53 +0530 Subject: [PATCH] fix: Logo enlarges on return to the home page. Signed-off-by: abhishek --- layouts/partials/image-modal.html | 4 +++- layouts/partials/navbar.html | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/layouts/partials/image-modal.html b/layouts/partials/image-modal.html index a24f03f9..13125a62 100644 --- a/layouts/partials/image-modal.html +++ b/layouts/partials/image-modal.html @@ -44,7 +44,9 @@ var imgTags = document.querySelectorAll("img"); imgTags.forEach(function (img) { img.onclick = function () { - openModal(img); + if(img.id !== "navbar-brand_logo") { + openModal(img); + } }; }); }); diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index 3afdb6e3..d8e294c7 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -6,7 +6,7 @@