fix #2533 - CMD + click open a new tab
parent
9f2a8a1cad
commit
eae656a4b3
|
@ -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