mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Remove setValue call from live extension setup
It's already done by the parent, and done in a more complex manner (with whitespace preservation) which this destroys. Change-Id: I0385abe4093223b1804b11d77222cf8212a6360f
This commit is contained in:
parent
10cda9359a
commit
26535382e5
|
@ -80,8 +80,6 @@ ve.ui.MWLiveExtensionInspector.prototype.getSetupProcess = function ( data ) {
|
|||
this.getFragment().select();
|
||||
this.node = this.getFragment().getSelectedNode();
|
||||
}
|
||||
this.input.setValue( this.node.getAttribute( 'mw' ).body.extsrc );
|
||||
|
||||
this.input.on( 'change', this.onChangeHandler );
|
||||
}, this );
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue