Reduction of renderContents calls

There is no need to call renderContents in ContentBranchNode constructor
because it is going to be called anyways in onSplice

Change-Id: Id1ab983668299658ecd6e89a37667cc34c701689
This commit is contained in:
Inez Korczyński 2013-05-09 17:27:37 -07:00 committed by Trevor Parscal
parent 2cbc5045b6
commit 1e85621bd9

View file

@ -25,9 +25,6 @@ ve.ce.ContentBranchNode = function VeCeContentBranchNode( model, $element ) {
// Events
this.connect( this, { 'childUpdate': 'onChildUpdate' } );
// Initialization
this.renderContents();
};
/* Inheritance */