Merge pull request #3594 from VikingGer/patch-7

Update reports.js
pull/3597/head
Isaac Connor 2022-09-17 10:22:04 -04:00 committed by GitHub
commit d1edd8fd1f
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';
});