Browse Source

Removed rendering of rosterview since I've added check to render only with passed item and the result is the same without the rendering

ichim-david 12 năm trước cách đây
mục cha
commit
a256645d6d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      converse.js

+ 1 - 1
converse.js

@@ -1146,7 +1146,7 @@
 
             // Add the roster
             xmppchat.roster = new xmppchat.RosterItems();
-            xmppchat.rosterview = new xmppchat.RosterView({'model':xmppchat.roster}).render();
+            xmppchat.rosterview = new xmppchat.RosterView({'model':xmppchat.roster});
             xmppchat.rosterview.$el.appendTo(controlbox.contactspanel.$el);
 
             // Rebind events (necessary for click events on tabs inserted via the panels)