From 98cf6eec71b58669ee068941c92115f7b0282b4d Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sat, 7 Dec 2013 16:18:01 -0500 Subject: [PATCH] shift clicking now opens links in a new window, closes #630 --- public/src/ajaxify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js index bba039ea66..640c4da443 100644 --- a/public/src/ajaxify.js +++ b/public/src/ajaxify.js @@ -154,7 +154,7 @@ var ajaxify = {}; return; } - if (!e.ctrlKey && e.which === 1) { + if ((!e.ctrlKey && !e.shiftKey) && e.which === 1) { if (this.host === window.location.host) { // Internal link var url = this.href.replace(rootUrl + '/', '');