channel.js formatting
authorDarren <darren@darrenwhitlen.com>
Thu, 20 Feb 2014 23:03:15 +0000 (23:03 +0000)
committerDarren <darren@darrenwhitlen.com>
Thu, 20 Feb 2014 23:03:15 +0000 (23:03 +0000)
client/src/views/channel.js

index 1efbf9cd3a9c5864544aae20e60f5e37fb5342ad..699d57c9e3140e4bb006af05e64b532f28f3b64f 100644 (file)
@@ -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>';
             });