Skip to content

Commit

Permalink
fixup: whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
MylesBorins committed Oct 21, 2019
1 parent 196ea58 commit 13ee7d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion build.js
Expand Up @@ -295,7 +295,6 @@ function getSource (callback) {
}
}
}

if (semver.gt(source.project.latestVersions.lts.node, source.project.latestVersions.current.node)) {
// If LTS is higher than Current hide it from the main page
source.project.latestVersions.hideCurrent = true
Expand Down
4 changes: 2 additions & 2 deletions layouts/index.hbs
Expand Up @@ -42,7 +42,7 @@
</div>

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

<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 }}">
Expand All @@ -63,7 +63,7 @@
</ul>

</div>
{{/if}}
{{/unless}}
{{/if}}
<p>
{{{ labels.version-schedule-prompt }}} <a href="https://nodejs.org/{{site.locale}}/about/releases/">{{ labels.version-schedule-prompt-link-text }}</a>
Expand Down

0 comments on commit 13ee7d9

Please sign in to comment.