Close searchbar on back
This commit is contained in:
parent
5ac43e4aa3
commit
2736bd3c6e
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user