mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 00:00:49 +00:00
Delete from ce.BranchNode code that is not needed anymore.
Change-Id: I64f869a9fd54d089d2c6a31d827ddaccb9ece900
This commit is contained in:
parent
f711d78d4d
commit
95297a2c73
|
@ -34,7 +34,6 @@ ve.ce.BranchNode = function( type, model, $element ) {
|
|||
/* Static Members */
|
||||
|
||||
ve.ce.BranchNode.$slugTemplate = $( '<span class="ve-ce-slug"></span>' );
|
||||
//ve.ce.BranchNode.$slugTemplate = $( '<span class="ve-ce-slug">OJEJ</span>' );
|
||||
|
||||
/* Static Methods */
|
||||
|
||||
|
@ -164,8 +163,6 @@ ve.ce.BranchNode.prototype.onSplice = function( index, howmany ) {
|
|||
|
||||
if ( this.canHaveGrandchildren() ) {
|
||||
$slug.css( 'display', 'block');
|
||||
} else {
|
||||
$slug.css( { display: 'inline-block', width: '1px' } );
|
||||
}
|
||||
|
||||
// Iterate over all children of this branch and add slugs in appropriate places
|
||||
|
|
Loading…
Reference in a new issue