Explorar o código

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 %!s(int64=12) %!d(string=hai) anos
pai
achega
a256645d6d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      converse.js

+ 1 - 1
converse.js

@@ -1146,7 +1146,7 @@
 
 
             // Add the roster
             // Add the roster
             xmppchat.roster = new xmppchat.RosterItems();
             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);
             xmppchat.rosterview.$el.appendTo(controlbox.contactspanel.$el);
 
 
             // Rebind events (necessary for click events on tabs inserted via the panels)
             // Rebind events (necessary for click events on tabs inserted via the panels)