mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 09:26:37 +00:00
Fix typo in LinkAnnotation
Change-Id: Idfb969a73c59aef1acf54edd61d555cdc295534c
This commit is contained in:
parent
f2b3df8027
commit
cc0c490502
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue