Skip to content

Commit

Permalink
BUGFIX: Use of non-standard elements in mouse events
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrescher committed Jan 12, 2021
1 parent b6bde58 commit b167c38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/js/radar.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ if (editProjectLinks) {
editProjectLinks.forEach((link) => {
link.addEventListener('click', async (event) => {
event.preventDefault()
location.assign(event.path[1].getAttribute('route'))
location.assign(event.target.parentNode.getAttribute('route'))
})
})
}
Expand Down

0 comments on commit b167c38

Please sign in to comment.