瀏覽代碼

Sorry folks. Changing onClick to onMouseDown so middle mouse/right mouse work correctly too.

pdontthink 20 年之前
父節點
當前提交
07ac7ea6b6
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/mailbox_display.php

+ 1 - 1
functions/mailbox_display.php

@@ -426,7 +426,7 @@ function printMessageInfo($aMsg) {
                 // parentNode property is DOM Level 1
                 // parentNode property is DOM Level 1
                 //
                 //
                 if ($javascript_on && $fancy_index_highlite)
                 if ($javascript_on && $fancy_index_highlite)
-                    $td_str .= ' onClick="row_click(\'msg[' . $t . ']\'); setPointer(this.parentNode.parentNode, ' . $t . ', \'click\', \'' . $hlt_color . '\', \'' . $mouseoverColor . '\', \'' . $clickedColor . '\');"';
+                    $td_str .= ' onmousedown="row_click(\'msg[' . $t . ']\'); setPointer(this.parentNode.parentNode, ' . $t . ', \'click\', \'' . $hlt_color . '\', \'' . $mouseoverColor . '\', \'' . $clickedColor . '\');"';
 
 
                 $td_str .= ' ' .concat_hook_function('subject_link', array($start_msg, $searchstr));
                 $td_str .= ' ' .concat_hook_function('subject_link', array($start_msg, $searchstr));
                 if ($subject != $sSubject) {
                 if ($subject != $sSubject) {