Skip to content

Commit

Permalink
fix: widget only in /home , not in /epo-home etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
yfanti committed May 6, 2024
1 parent 521153d commit c813bcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/partials/main.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
Expand Down

0 comments on commit c813bcd

Please sign in to comment.