From c813bcdef730cd6ac124bc280d8773088026675f Mon Sep 17 00:00:00 2001 From: yfantse Date: Mon, 6 May 2024 13:22:41 +0300 Subject: [PATCH] fix: widget only in /home , not in /epo-home etc. --- src/partials/main.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/partials/main.hbs b/src/partials/main.hbs index 3baa9a0..40b20bf 100644 --- a/src/partials/main.hbs +++ b/src/partials/main.hbs @@ -18,7 +18,7 @@ var url = window.location.href; // Check if the URL ends with 'home/index.html' - if (!url.endsWith('home/index.html')) { + if (!url.endsWith('/home/index.html')) { // If it doesn't, hide the widget document.getElementById('widgetContainer').style.display = 'none'; }