diff --git a/demos/ve/index.php b/demos/ve/index.php index 7630192ded..0ef4d9b800 100644 --- a/demos/ve/index.php +++ b/demos/ve/index.php @@ -425,7 +425,7 @@ $html = file_get_contents( $page ); if ( annotations ) { $label.append( $( '' ).text( - '[' + annotations.get().map( function( ann ) { + '[' + ve.instances[0].model.documentModel.store.values( annotations ).map( function( ann ) { return ann.name; } ).join( ', ' ) + ']' )