Close searchbar on back

This commit is contained in:
Skylar Ittner 2020-01-18 02:12:22 -07:00
parent 5ac43e4aa3
commit 2736bd3c6e

View File

@ -59,6 +59,8 @@ function handleBackButton() {
// Close map sheet if it's open
if ($(".sheet-modal").hasClass("modal-in")) {
app.sheet.close();
} else if ($(".searchbar-enabled")[0]) {
app.searchbar.disable();
} else if (scanningBarcode) {
return;
} else {