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

v1.18.x
psychobunny 11 years ago
parent 5a00767370
commit 98cf6eec71

@ -154,7 +154,7 @@ var ajaxify = {};
return; return;
} }
if (!e.ctrlKey && e.which === 1) { if ((!e.ctrlKey && !e.shiftKey) && e.which === 1) {
if (this.host === window.location.host) { if (this.host === window.location.host) {
// Internal link // Internal link
var url = this.href.replace(rootUrl + '/', ''); var url = this.href.replace(rootUrl + '/', '');

Loading…
Cancel
Save