Merge "Editcheck: fix typo in ConvertReferenceEditCheck"

This commit is contained in:
jenkins-bot 2024-11-21 18:11:26 +00:00 committed by Gerrit Code Review
commit c7979510e6

View file

@ -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,