projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
70344d8
)
channel.js formatting
author
Darren
<darren@darrenwhitlen.com>
Thu, 20 Feb 2014 23:03:15 +0000
(23:03 +0000)
committer
Darren
<darren@darrenwhitlen.com>
Thu, 20 Feb 2014 23:03:15 +0000
(23:03 +0000)
client/src/views/channel.js
patch
|
blob
|
blame
|
history
diff --git
a/client/src/views/channel.js
b/client/src/views/channel.js
index 1efbf9cd3a9c5864544aae20e60f5e37fb5342ad..699d57c9e3140e4bb006af05e64b532f28f3b64f 100644
(file)
--- a/
client/src/views/channel.js
+++ b/
client/src/views/channel.js
@@
-72,7
+72,7
@@
_kiwi.view.Channel = _kiwi.view.Panel.extend({
// Make the channels clickable
if ((network = this.model.get('network'))) {
- re = new RegExp('(?:^|\\s)([' + escapeRegex(network.get('channel_prefix')) + '][^ ,\\007]+)', 'g');
+
re = new RegExp('(?:^|\\s)([' + escapeRegex(network.get('channel_prefix')) + '][^ ,\\007]+)', 'g');
msg.msg = msg.msg.replace(re, function (match) {
return '<a class="chan" data-channel="' + match.trim() + '">' + match + '</a>';
});