Ctrl+Click doesn't work on Todos page
Summary
When using Ctrl+Click on Todos page, the current tab navigates to a different page.
Steps to reproduce
- open Todos page
- Ctrl+Click on any link
Expected behavior
Link is opened in new tab.
Actual behavior
Link is opened in new tab and current tab changes .
Possible fixes
Ctrl+Click on a Todo row should either do nothing or open the Todo in a new tab. Also clicking on a link within a Todo row should probably only navigate to the link (not to the Todo). So changes to be made:
- in Todo row click handler check if Ctrl is pressed
- in Todo row click handler check that the element being clicked on is not a link