mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-12 09:09:25 +00:00
JSCS fixes
Change-Id: I11032f05eaee1e8c895e06ebbc9c329cbc70c8c0
This commit is contained in:
parent
0a203fec65
commit
8e3f77a9e7
|
@ -83,10 +83,8 @@ ve.ce.MWBlockImageNode = function VeCeMWBlockImageNode( model, config ) {
|
|||
|
||||
// Events
|
||||
this.model.connect( this, { 'attributeChange': 'onAttributeChange' } );
|
||||
|
||||
};
|
||||
|
||||
|
||||
/* Inheritance */
|
||||
|
||||
OO.inheritClass( ve.ce.MWBlockImageNode, ve.ce.BranchNode );
|
||||
|
@ -278,7 +276,6 @@ ve.ce.MWBlockImageNode.prototype.onSetup = function () {
|
|||
if ( type !== 'none' && type !== 'frameless' ) {
|
||||
this.$element.addClass( this.getCssClass( 'default', this.model.getAttribute( 'align' ) ) );
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
@ -70,7 +70,6 @@ ve.ui.MWMediaEditDialog.static.toolbarGroups = [
|
|||
}
|
||||
];
|
||||
|
||||
|
||||
ve.ui.MWMediaEditDialog.static.surfaceCommands = [
|
||||
'undo',
|
||||
'redo',
|
||||
|
|
Loading…
Reference in a new issue