mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "Fix for crashing on save"
This commit is contained in:
commit
85dc52500e
|
@ -68,7 +68,7 @@ ve.dm.MWReferenceNode.static.toDomElements = function ( dataElement, doc, conver
|
|||
span.setAttribute( 'typeof', 'mw:Object/Ext/Ref' );
|
||||
|
||||
converter.getDomSubtreeFromData(
|
||||
converter.documentData.slice( itemNodeRange.start, itemNodeRange.end ),
|
||||
itemNode.getDocument().getData().slice( itemNodeRange.start, itemNodeRange.end ),
|
||||
itemNodeWrapper
|
||||
),
|
||||
itemNodeHtml = $( itemNodeWrapper ).html();
|
||||
|
|
Loading…
Reference in a new issue