mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-23 14:06:52 +00:00
Merge "Editcheck: fix typo in ConvertReferenceEditCheck"
This commit is contained in:
commit
c7979510e6
|
@ -20,7 +20,7 @@ mw.editcheck.ConvertReferenceEditCheck.prototype.onDocumentChange = function ( s
|
|||
const referenceNode = documentModel.getInternalList().getItemNode( index );
|
||||
const href = ve.ui.CitoidReferenceContextItem.static.getConvertibleHref( referenceNode );
|
||||
if ( href ) {
|
||||
const fragment = surfaceModel().getLinearFragment( node.getOuterRange() );
|
||||
const fragment = surfaceModel.getLinearFragment( node.getOuterRange() );
|
||||
return new mw.editcheck.EditCheckAction( {
|
||||
highlights: [ fragment ],
|
||||
selection: fragment,
|
||||
|
|
Loading…
Reference in a new issue