Skip to content

Commit

Permalink
Removed the extra line while displaying the "disconnect" message.
Browse files Browse the repository at this point in the history
  • Loading branch information
microp11 committed Apr 21, 2012
1 parent bacf545 commit f1bf9c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/js/app.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ $(document).ready(function() {
message = '<span class="msg-disconnected">Reconnecting as ' + nickname + '...</span>'; message = '<span class="msg-disconnected">Reconnecting as ' + nickname + '...</span>';
break; break;
case "disconnected": 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>"); message = message.replace(/(https?:\/\/[-_.a-zA-Z0-9&?\/=\[\]()$!#+:]+)/g, "<a href=\"$1\" target=\"_BLANK\">$1</a>");
break; break;
default: default:
Expand Down

0 comments on commit f1bf9c6

Please sign in to comment.