From eefbab5809a9d1129f2cc9dd085558b3a2668b1a Mon Sep 17 00:00:00 2001 From: Albin Larsson Date: Fri, 17 Nov 2023 00:09:25 +0100 Subject: [PATCH] fix: releases I forgot to change the consts to let (I don't have the environment up so testing in production, sorry) --- assets/js/releases.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/js/releases.js b/assets/js/releases.js index 6cf3bc3..6088e12 100644 --- a/assets/js/releases.js +++ b/assets/js/releases.js @@ -22,8 +22,8 @@ jQuery(function($) { console.error('Releases not found'); return; } - const stableVer = stable.name || stable.tag_name; - const devVer = dev.name || dev.tag_name; + let stableVer = stable.name || stable.tag_name; + let devVer = dev.name || dev.tag_name; if (stableVer.charAt(0) !== "v"){ stableVer = `v${stableVer}` }