From: Moritz Warning Date: Sun, 2 Feb 2020 04:35:43 +0000 (+0100) Subject: fix help text display X-Git-Tag: v1.0.0~30 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=33a5cd74bd67baf262afeb0299814d455629a2d6;p=web%2Ffirmware-selector-openwrt-org.git fix help text display --- diff --git a/www/index.js b/www/index.js index 2159c24..89dc87b 100644 --- a/www/index.js +++ b/www/index.js @@ -247,8 +247,7 @@ function updateImages(dllink, model, target, release, commit, prefix, images) { for (var i in images) { var image = images[i]; var tags = (images.length > 1) ? extractTags(image) : []; - - add_link(category, tags, image, 'factory-help'); + add_link(category, tags, image, category.toLowerCase() + '-help'); } }