Update reports.js

Function name missing? Assumed to be correct according to the rest.
pull/3594/head
VikingGer 2022-09-17 10:28:10 +02:00 committed by GitHub
parent 7da1da1e27
commit ac55a9e0f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ function initPage() {
window.location.reload(true);
});
document.getElementById("newBtn").addEventListener('click', function (evt) {
document.getElementById("newBtn").addEventListener('click', function onNewClick(evt) {
evt.preventDefault();
window.location = '?view=report';
});