Errors fixed, OCR UI fixed
This commit is contained in:
@ -92,6 +92,18 @@ $(document).ready(function () {
|
||||
});
|
||||
});
|
||||
|
||||
$(document).on("click", ".ble", function () {
|
||||
firebase.auth().onAuthStateChanged(function (user) {
|
||||
if (user) {
|
||||
firebase.auth().currentUser.getIdToken( /* forceRefresh */ true).then(function (idtoken) {
|
||||
window.location.href = "/dash/" + idtoken
|
||||
}).catch((error) => console.error("Get id token client error: ", error));
|
||||
} else {
|
||||
console.log("Check Auth error", user)
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
function analyzeUploaded() {
|
||||
|
||||
$("#modalEND").modal("open");
|
||||
|
Reference in New Issue
Block a user