Index: trunk/extensions/VisualEditor/modules/es/views/es.HeadingView.js |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | */ |
10 | 10 | es.HeadingView = function( model ) { |
11 | 11 | // Inheritance |
12 | | - es.DocumentViewLeafNode.call( this, model, $( '<h' + model.getElementAttribute( 'level' ) + '>') ); |
| 12 | + es.DocumentViewLeafNode.call( this, model ); |
13 | 13 | |
14 | 14 | // DOM Changes |
15 | 15 | this.$.addClass( 'es-headingView' ); |