Allow m.route links to be opened in a new window using the shift key

This commit is contained in:
Toby Zerner 2015-12-11 09:47:20 +10:30
parent 747ba7e6d9
commit 6478092492

View file

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