File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 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 }} " >
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 >
You can’t perform that action at this time.
0 commit comments