Merge pull request #491 from taigaio/issue/2533/fix-cmd-click
fix #2533 - CMD + click open a new tabstable
commit
c8c24c37dd
|
@ -111,6 +111,9 @@ NavigationUrlsDirective = ($navurls, $auth, $q, $location) ->
|
|||
target.attr("href", fullUrl)
|
||||
|
||||
$el.on "click", (event) ->
|
||||
if event.metaKey || event.ctrlKey
|
||||
return
|
||||
|
||||
event.preventDefault()
|
||||
target = $(event.currentTarget)
|
||||
|
||||
|
|
Loading…
Reference in New Issue