Fix minore

This commit is contained in:
Luca 2023-07-28 18:13:39 +02:00
parent 422a70a320
commit df86c0599d
1 changed files with 3 additions and 2 deletions

View File

@ -147,13 +147,14 @@ if(setting('Sistema di firma')=='Base'){
caricaTavoletta() caricaTavoletta()
} else { } else {
// Handle the case when navigator.hid is undefined // Handle the case when navigator.hid is undefined
alert("navigator.hid '.tr("non è supportato da questo browser.").'"); swal("' . tr('Errore') . '", "' . tr("navigator.hid non è supportato da questo browser!") . '", "error");
$("#modals > div").modal("hide");
} }
} catch (error) { } catch (error) {
// Handle any other errors that may occur // Handle any other errors that may occur
console.error("An error occurred:", error); console.error("An error occurred:", error);
} }
}); });
}); });
function caricaTavoletta(){ function caricaTavoletta(){