We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ca8dee commit 0b0fac9Copy full SHA for 0b0fac9
1 file changed
templates/html.tmpl
@@ -821,7 +821,7 @@
821
</div>
822
<div class="view-switch" role="navigation" aria-label="Report view">
823
<a href="/index.html" data-view="latest">Latest</a>
824
- <a href="/nightly/" data-view="nightly">Nightly</a>
+ <a href="/nightly/index.html" data-view="nightly">Nightly</a>
825
826
<div class="severity-info">
827
<div class="severity-box" id="critical">
@@ -1357,7 +1357,7 @@
1357
}
1358
1359
const path = window.location.pathname || '';
1360
- const activeView = path.endsWith('nightly.html') ? 'nightly' : 'latest';
+ const activeView = path.includes('/nightly/') ? 'nightly' : 'latest';
1361
1362
switcher.querySelectorAll('a[data-view]').forEach(link => {
1363
if (link.dataset.view === activeView) {
0 commit comments