Show found item icon
This commit is contained in:
parent
9ad1589423
commit
9b0f8a8a80
@ -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 == "") {
|
||||
|
@ -151,7 +151,7 @@
|
||||
<div class="popup display-flex justify-content-center align-items-center dark-popup" id="founditem-popup">
|
||||
<div class="row">
|
||||
<div class="col-100 tablet-50 block text-align-center" id="founditem-block">
|
||||
<i class="fas fa-exclamation fa-4x"></i>
|
||||
<i class="fas fa-exclamation fa-4x" id="founditem-icon"></i>
|
||||
<h1>Item Found!</h1>
|
||||
<h3>You found one <span id="founditem-name"></span></h3>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user