Allow m.route links to be opened in a new window using the shift key
This commit is contained in:
parent
747ba7e6d9
commit
6478092492
1 changed files with 1 additions and 1 deletions
|
|
@ -1629,7 +1629,7 @@ void (function (global, factory) { // eslint-disable-line
|
|||
function routeUnobtrusive(e) {
|
||||
e = e || event
|
||||
|
||||
if (e.ctrlKey || e.metaKey || e.which === 2) return
|
||||
if (e.ctrlKey || e.metaKey || e.shiftKey || e.which === 2) return
|
||||
|
||||
if (e.preventDefault) {
|
||||
e.preventDefault()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue