diff --git a/modules/ve-mw/ui/widgets/ve.ui.MWReferenceSearchWidget.js b/modules/ve-mw/ui/widgets/ve.ui.MWReferenceSearchWidget.js index 323aa6ccaa..1d2c0c8f2b 100644 --- a/modules/ve-mw/ui/widgets/ve.ui.MWReferenceSearchWidget.js +++ b/modules/ve-mw/ui/widgets/ve.ui.MWReferenceSearchWidget.js @@ -158,7 +158,7 @@ ve.ui.MWReferenceSearchWidget.prototype.buildIndex = function () { view.$element.find( 'a[href]' ).each( extractAttrs ); this.index.push( { - '$element': view.$element.clone(), + '$element': view.$element, 'text': text, 'reference': ref, 'citation': citation,