fix #2533 - CMD + click open a new tab

stable
Juanfran 2015-06-02 09:23:05 +02:00
parent 9f2a8a1cad
commit eae656a4b3
1 changed files with 3 additions and 0 deletions

View File

@ -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)