Permalink
Browse files

Removed the extra line while displaying the "disconnect" message.

  • Loading branch information...
1 parent bacf545 commit f1bf9c6f0fc190f57c157c0da221f679cc608b07 Paul Maxan committed Apr 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 public/js/app.js
View
@@ -239,7 +239,7 @@ $(document).ready(function() {
message = '<span class="msg-disconnected">Reconnecting as ' + nickname + '...</span>';
break;
case "disconnected":
- message = '<span class="msg-disconnected">You\'ve been disconnected from http://irc.nodester.com/<br /></span>';
+ message = '<span class="msg-disconnected">You\'ve been disconnected from http://irc.nodester.com/</span>';
message = message.replace(/(https?:\/\/[-_.a-zA-Z0-9&?\/=\[\]()$!#+:]+)/g, "<a href=\"$1\" target=\"_BLANK\">$1</a>");
break;
default:

0 comments on commit f1bf9c6

Please sign in to comment.