mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-09-25 11:16:51 +00:00
MW link inspector: Empty before appending
We don't inherit any root DOM structure from the parent, so explicitly clear it. Change-Id: If4c034e8230ccaf721a8e3667f29c6783c94a8bb
This commit is contained in:
parent
92a600d5a2
commit
239e592d15
|
@ -94,7 +94,7 @@ ve.ui.MWLinkAnnotationInspector.prototype.initialize = function () {
|
|||
this.linkTypeIndex.$content.append( this.$otherActions );
|
||||
this.linkTypeIndex.getTabPanel( 'internal' ).$element.append( this.internalAnnotationInput.$element );
|
||||
this.linkTypeIndex.getTabPanel( 'external' ).$element.append( this.externalAnnotationInput.$element );
|
||||
this.form.$element.append( this.linkTypeIndex.$element );
|
||||
this.form.$element.empty().append( this.linkTypeIndex.$element );
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue