Skip to content

Commit 13ee7d9

Browse files
committed
fixup: whoops
1 parent 196ea58 commit 13ee7d9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

build.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,6 @@ function getSource (callback) {
295295
}
296296
}
297297
}
298-
299298
if (semver.gt(source.project.latestVersions.lts.node, source.project.latestVersions.current.node)) {
300299
// If LTS is higher than Current hide it from the main page
301300
source.project.latestVersions.hideCurrent = true

layouts/index.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
</div>
4343

4444
{{#if project.latestVersions.current.node}}
45-
{{#if project.latestVersions.current.hideCurrent}}
45+
{{#unless project.latestVersions.hideCurrent}}
4646
<div class="home-downloadblock">
4747

4848
<a href="https://nodejs.org/dist/{{ project.latestVersions.current.node }}/" class="home-downloadbutton" title="{{ labels.download }} {{stripv project.latestVersions.current.node }} {{ labels.current }}" data-version="{{ project.latestVersions.current.node }}">
@@ -63,7 +63,7 @@
6363
</ul>
6464

6565
</div>
66-
{{/if}}
66+
{{/unless}}
6767
{{/if}}
6868
<p>
6969
{{{ labels.version-schedule-prompt }}} <a href="https://nodejs.org/{{site.locale}}/about/releases/">{{ labels.version-schedule-prompt-link-text }}</a>

0 commit comments

Comments
 (0)