Fix typo in LinkAnnotation

Change-Id: Idfb969a73c59aef1acf54edd61d555cdc295534c
This commit is contained in:
Trevor Parscal 2012-06-07 21:16:55 -07:00
parent f2b3df8027
commit cc0c490502

View file

@ -23,7 +23,7 @@ ve.dm.LinkAnnotation.converters = {
'domElementTypes': ['a'],
'toDomElement': function( subType, annotation ) {
if ( annotation.type ) {
var link = dom.createElement( 'a' );
var link = document.createElement( 'a' );
link.setAttribute( 'data-type', 'link/' + subType );
return link;
}