mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-25 06:46:26 +00:00
Merge "Followup c41f96c
: doc parameter in ve.dm.InternalList constructor is not optional, remove check"
This commit is contained in:
commit
3132bc8a24
|
@ -29,9 +29,7 @@ ve.dm.InternalList = function VeDmInternalList( doc ) {
|
|||
this.nextUniqueNumber = 0;
|
||||
|
||||
// Event handlers
|
||||
if ( doc ) {
|
||||
doc.connect( this, { 'transact': 'onTransact' } );
|
||||
}
|
||||
this.document.connect( this, { 'transact': 'onTransact' } );
|
||||
};
|
||||
|
||||
/* Inheritance */
|
||||
|
|
Loading…
Reference in a new issue