Fix stuff
This commit is contained in:
parent
66bb614e74
commit
c7b7e8f1f5
1 changed files with 0 additions and 5 deletions
|
@ -578,11 +578,6 @@ document.addEventListener("click", function(event) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function successMessage(parsedData) {
|
|
||||||
alert(parsedData.message);
|
|
||||||
location.reload(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
const newReportForm = document.querySelector(".new-report-form");
|
const newReportForm = document.querySelector(".new-report-form");
|
||||||
if (newReportForm) {
|
if (newReportForm) {
|
||||||
newReportForm.addEventListener("submit", function(event) {
|
newReportForm.addEventListener("submit", function(event) {
|
||||||
|
|
Loading…
Reference in a new issue