mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 09:26:37 +00:00
Remove unnecessary strangely written range clone
Probably left over from when the range calculation was more complex. Change-Id: I59c989bac0d80f4a12e57cbd41bdc6587acd964a
This commit is contained in:
parent
22b49f3d5b
commit
fdb4062aec
|
@ -132,7 +132,7 @@ ve.dm.MWReferenceNode.static.toDomElements = function ( dataElement, doc, conver
|
|||
|
||||
if ( setContents && !contentsAlreadySet ) {
|
||||
converter.getDomSubtreeFromData(
|
||||
itemNode.getDocument().getFullData( new ve.Range( itemNodeRange.start, itemNodeRange.end ), true ),
|
||||
itemNode.getDocument().getFullData( itemNodeRange, true ),
|
||||
itemNodeWrapper
|
||||
);
|
||||
itemNodeHtml = $( itemNodeWrapper ).html(); // Returns '' if itemNodeWrapper is empty
|
||||
|
|
Loading…
Reference in a new issue