Commit 1cfd4159 authored by Jacob Schatz's avatar Jacob Schatz

Merge branch 'rs-todo-middle-click' into 'master'

Allow middle-click on a Todo row to open in a new tab



See merge request !3899
parents 7acea6bd aace81ca
......@@ -102,7 +102,8 @@ class @Todos
todoLink = $(this).data('url')
return unless todoLink
if e.metaKey
# Allow Meta-Click or Mouse3-click to open in a new tab
if e.metaKey or e.which is 2
e.preventDefault()
window.open(todoLink,'_blank')
else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment