mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
Don't clone internal item node element used for references in re-use citation dialog
It won't be ready at this point Bug: 67342 Change-Id: Ic1bdc3df8f159cef736b00fbefc6f879a7dcd658
This commit is contained in:
parent
3dd63f751a
commit
1b873a8ed2
|
@ -158,7 +158,7 @@ ve.ui.MWReferenceSearchWidget.prototype.buildIndex = function () {
|
||||||
view.$element.find( 'a[href]' ).each( extractAttrs );
|
view.$element.find( 'a[href]' ).each( extractAttrs );
|
||||||
|
|
||||||
this.index.push( {
|
this.index.push( {
|
||||||
'$element': view.$element.clone(),
|
'$element': view.$element,
|
||||||
'text': text,
|
'text': text,
|
||||||
'reference': ref,
|
'reference': ref,
|
||||||
'citation': citation,
|
'citation': citation,
|
||||||
|
|
Loading…
Reference in a new issue