We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1411c1b commit 29d1d92Copy full SHA for 29d1d92
1 file changed
js/script.js
@@ -1980,7 +1980,7 @@ Options -Indexes
1980
if (!href) href = event.srcElement.parentElement.attributes['href'];
1981
let hrefValue = href.value;
1982
1983
- if (hrefValue === globalThis.lb.globalVariables()['website_url']) {
+ if (hrefValue === globalThis.lb.globalVariables()['website_url'] || hrefValue === "/") {
1984
hrefValue = "/index.html";
1985
} else {
1986
hrefValue += globalThis.lb.dotHtmlForLinks() ? "" : ".html";
0 commit comments