Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit da313e3

Browse files
committed
Fixes
1 parent d2e16ce commit da313e3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

_templates/banner.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"font-weight": "bold",
146146
"color": "red"
147147
});
148-
updateLinks(lang); // Call updateLinks here to handle specific URL changes.
148+
updateLinks(lang);
149149
} else {
150150
$(this).removeClass('active-lang').removeAttr('style');
151151
}
@@ -167,12 +167,10 @@
167167
}
168168

169169
function updateLinks(lang) {
170-
// Update the navbar-brand href
171170
var baseUrl = "https://docs.splunk.com/Observability";
172171
if(lang === "ja") {
173172
$(".navbar-brand").attr("href", baseUrl + "/ja/");
174173
} else {
175-
// Default or other languages' behavior
176174
$(".navbar-brand").attr("href", baseUrl);
177175
}
178176

0 commit comments

Comments
 (0)