]> git.ipfire.org Git - thirdparty/bootstrap.git/commit
Fix docs-versions.html (#39738)
authorXhmikosR <xhmikosr@gmail.com>
Tue, 5 Mar 2024 18:24:46 +0000 (20:24 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Mar 2024 18:24:46 +0000 (20:24 +0200)
commit87be2b9d24c60db1070b2241d7046fc002132a4e
tree82143b1486a465bfc28692be1df4ded0dffe92f1
parent46d7c30eb3e2cf3539b6c47865b1de09d7514ae8
Fix docs-versions.html (#39738)

Cast to string when comparing the versions, otherwise we were comparing numbers with strings.

Also, move checks to variables.

Fixes 404 errors in the version picker.
site/layouts/partials/docs-versions.html