Skip to content

Commit

Permalink
fixed bad pull
Browse files Browse the repository at this point in the history
  • Loading branch information
sethwebster committed Dec 17, 2011
1 parent cab0fa1 commit 92219b7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions JabbR/Chat.ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,10 +223,8 @@

function getAllRoomElements() {
var rooms = [];
$("ul#tabs > li.room") .each(function () {
rooms[rooms.length] = new Room($('#tabs-' + $(this).data("name")),
$('#users-' + $(this).data("name")),
$('#messages-' + $(this).data("name")));
$("ul#tabs > li.room").each(function () {
rooms[rooms.length] = getRoomElements($(this).data("name"));
});
return rooms;
}
Expand Down

0 comments on commit 92219b7

Please sign in to comment.