Commit 760a327b authored by fred's avatar fred
Browse files

keep middle click working as expected

parent ca155cfd
......@@ -93,9 +93,13 @@ $(function() {
$.fn.ajaxifyClick = function(params) {
this.each(function() {
var href = $(this).attr("href");
if (e.which == 2) {, '_blank');
return false;
/* this checks the link points to a local document, be
* it because it's just a path, or because the server
* part points to the same domain */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment