Merge branch 'master' of github.com:mwarning/yet_another_firmware_selector
authorMoritz Warning <moritzwarning@web.de>
Fri, 3 Jul 2020 09:10:31 +0000 (11:10 +0200)
committerMoritz Warning <moritzwarning@web.de>
Fri, 3 Jul 2020 09:10:31 +0000 (11:10 +0200)
1  2 
www/index.js

diff --cc www/index.js
index d8bd8aa113b2b21ef1bc83d193975a52489854b8,5787f8d592fe728eb36a14f10c1261373f69a30a..c541b70839e7734193faa7b3ea4f41ea47666902
@@@ -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);