From 9007640e88543f972321cbd4f5561e8666c51afd Mon Sep 17 00:00:00 2001 From: Macil Tech Date: Wed, 16 Jan 2013 16:32:24 -0600 Subject: [PATCH] Don't do anything if a mod link is middle-clicked. This lets Chrome users open mod actions in a new tab by middle-clicking, as Chrome still calls the onclick event when middle-clicking unlike Firefox. --- inc/display.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/display.php b/inc/display.php index 85c21e7c..ef952ca2 100644 --- a/inc/display.php +++ b/inc/display.php @@ -216,7 +216,7 @@ function truncate($body, $url, $max_lines = false, $max_chars = false) { function secure_link_confirm($text, $title, $confirm_message, $href) { global $config; - return '' . $text . ''; + return '' . $text . ''; } function secure_link($href) { return $href . '/' . make_secure_link_token($href);