Fix layout bug with item/munzee found popup on larger screens
This commit is contained in:
parent
22fb101a74
commit
b26fccae6f
@ -56,13 +56,17 @@ function scanCode() {
|
||||
if (resp.item == "" && resp.munzee == "") {
|
||||
app.dialog.alert("You didn't find anything new.", "");
|
||||
} else {
|
||||
$("#founditem-block").addClass("tablet-50");
|
||||
$("#foundmunzee-block").addClass("tablet-50");
|
||||
if (resp.item == "") {
|
||||
$("#foundmunzee-block").removeClass("tablet-50");
|
||||
$("#founditem-block").addClass("display-none");
|
||||
} else {
|
||||
$("#founditem-name").text(resp.item);
|
||||
$("#founditem-block").removeClass("display-none");
|
||||
}
|
||||
if (resp.munzee == "") {
|
||||
$("#founditem-block").removeClass("tablet-50");
|
||||
$("#foundmunzee-block").addClass("display-none");
|
||||
} else {
|
||||
$("#foundmunzee-name").text(resp.munzee);
|
||||
|
Loading…
x
Reference in New Issue
Block a user