Fixed incorrect class name for method typo

Change-Id: I82390896ef7136bfc8ed8734d8bd9014e756af5e
This commit is contained in:
Trevor Parscal 2012-05-02 15:59:15 -07:00
parent d412c8c159
commit 947c3ddf22

View file

@ -190,7 +190,7 @@ ve.ce.TextNode.prototype.getOuterLength = function() {
*
* @method
*/
ve.ce.LeafNode.prototype.render = function() {
ve.ce.TextNode.prototype.render = function() {
var $new = $( $( '<span>' + this.getHtml() + '</span>' ).contents() );
this.$.replaceWith( $new );
this.$ = $new;