return false;\r
});\r
$('a.connect').click(function(){ $('.formconnectwindow').submit(); return false; });\r
+ $('a.chan').live('dblclick', function() { front.joinChannel($(this).text()); });\r
}\r
</script>\r
\r
if(next == '</u>') msg =+ '</u>';
}
+ var re = '\\B(#[^ ,\\007]+)';
+ re = new RegExp(re, 'g');
+ msg = msg.replace(re, function(match) {
+ return '<a class="chan" href="#">' + match + '</a>';
+ });
+
var line_msg = $('<div class="msg '+type+'"><div class="time">'+time+'</div><div class="nick">'+html_nick+'</div><div class="text" style="'+style+'">'+msg+' </div></div>');
this.div.append(line_msg);