Index: trunk/extensions/VisualEditor/modules/es/bases/es.DocumentViewBranchNode.js |
— | — | @@ -48,6 +48,9 @@ |
49 | 49 | this.children.push( childView ); |
50 | 50 | // Update DOM |
51 | 51 | this.$.append( childView.$ ); |
| 52 | + if ( this.children.length === 1 ) { |
| 53 | + childView.$.addClass('es-ViewBranchNode-firstChild'); |
| 54 | + } |
52 | 55 | this.emit( 'afterPush', childView ); |
53 | 56 | this.emit( 'update' ); |
54 | 57 | }; |