From 1505000fe595dea255712d5b115fce810f7724fc Mon Sep 17 00:00:00 2001 From: Ed Sanders Date: Wed, 29 Jun 2016 17:14:43 +0100 Subject: [PATCH] Use target widget factory method Change-Id: I107afbb4f7e8ae97bdb27f3b5f7acd357dada414 --- modules/ve-cite/ve.ui.MWReferenceDialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ve-cite/ve.ui.MWReferenceDialog.js b/modules/ve-cite/ve.ui.MWReferenceDialog.js index 376467707..3307a2930 100644 --- a/modules/ve-cite/ve.ui.MWReferenceDialog.js +++ b/modules/ve-cite/ve.ui.MWReferenceDialog.js @@ -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 ),