diff --git a/www/js/home.js b/www/js/home.js index 9d24572..3b08280 100644 --- a/www/js/home.js +++ b/www/js/home.js @@ -63,6 +63,8 @@ function scanCode() { $("#founditem-block").addClass("display-none"); } else { $("#founditem-name").text(resp.item); + $("#founditem-icon").removeClass(); + $("#founditem-icon").addClass(resp.itemdata.icon + ' fa-4x text-color-' + resp.itemdata.color); $("#founditem-block").removeClass("display-none"); } if (resp.munzee == "") { diff --git a/www/pages/home.html b/www/pages/home.html index b9869f9..a1bfd93 100644 --- a/www/pages/home.html +++ b/www/pages/home.html @@ -151,7 +151,7 @@