From: Moritz Warning Date: Fri, 3 Jul 2020 09:10:31 +0000 (+0200) Subject: Merge branch 'master' of github.com:mwarning/yet_another_firmware_selector X-Git-Tag: v2.2.2~3 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=9d805d4009c260de266c5199c0848aa42fed77ed;p=web%2Ffirmware-selector-openwrt-org.git Merge branch 'master' of github.com:mwarning/yet_another_firmware_selector --- 9d805d4009c260de266c5199c0848aa42fed77ed diff --cc www/index.js index d8bd8aa,5787f8d..c541b70 --- a/www/index.js +++ b/www/index.js @@@ -420,10 -415,10 +420,10 @@@ function init() return obj }) .then(obj => { - setupAutocompleteList($('models'), Object.keys(obj['models']), false, updateImages, models => { + setupAutocompleteList($('#models'), Object.keys(obj['models']), false, updateImages, models => { var model = models.value; if (model in obj['models']) { - var url = obj.url || 'unknown'; + var url = obj.download_url || 'unknown'; var code = obj.version_code || 'unknown'; var mobj = obj['models'][model]; updateImages(version, code, build_date, model, url, mobj, false);