mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-28 08:10:35 +00:00
Fix demo to convert annotation indexes to actual annotations
Change-Id: Ib9d4ab87baca2db7e9e8f2b9fc974c3198d9fe28
This commit is contained in:
parent
750ab24d31
commit
33e7fdb643
|
@ -425,7 +425,7 @@ $html = file_get_contents( $page );
|
|||
if ( annotations ) {
|
||||
$label.append(
|
||||
$( '<span>' ).text(
|
||||
'[' + annotations.get().map( function( ann ) {
|
||||
'[' + ve.instances[0].model.documentModel.store.values( annotations ).map( function( ann ) {
|
||||
return ann.name;
|
||||
} ).join( ', ' ) + ']'
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue