Skip to content

Node.js based forum software built for the modern web

shift clicking now opens links in a new window, closes #630

psychobunny98cf6eec71b5
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 + '/', '');