mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 08:20:02 +00:00
Use target widget factory method
Change-Id: I107afbb4f7e8ae97bdb27f3b5f7acd357dada414
This commit is contained in:
parent
724d890541
commit
1505000fe5
|
@ -249,7 +249,7 @@ ve.ui.MWReferenceDialog.prototype.useReference = function ( ref ) {
|
|||
} );
|
||||
|
||||
// Properties
|
||||
this.referenceTarget = new ve.ui.MWTargetWidget(
|
||||
this.referenceTarget = ve.init.target.createTargetWidget(
|
||||
this.referenceModel.getDocument(),
|
||||
{
|
||||
tools: ve.copy( ve.init.target.constructor.static.toolbarGroups ),
|
||||
|
|
Loading…
Reference in a new issue