mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
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:
parent
2cbc5045b6
commit
1e85621bd9
|
@ -25,9 +25,6 @@ ve.ce.ContentBranchNode = function VeCeContentBranchNode( model, $element ) {
|
|||
|
||||
// Events
|
||||
this.connect( this, { 'childUpdate': 'onChildUpdate' } );
|
||||
|
||||
// Initialization
|
||||
this.renderContents();
|
||||
};
|
||||
|
||||
/* Inheritance */
|
||||
|
|
Loading…
Reference in a new issue