Skip to content

Commit e6133b0

Browse files
Fix PHPUnit test
1 parent 4c5f894 commit e6133b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/block-library/src/image/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ function block_core_image_render_lightbox( $block_content, $block ) {
216216
$p->set_attribute( 'data-wp-on-async-window--resize', 'callbacks.setButtonStyles' );
217217
// Set an event to prefetch the image on pointerenter and pointerdown(mobile).
218218
$p->set_attribute( 'data-wp-on--pointerenter', 'actions.prefetchImage' );
219-
$p->set_attribute( 'data-wp-on--pointerdown', 'actions.prefetchImage' );
219+
$p->set_attribute( 'data-wp-on--pointerdown', 'actions.prefetchImage' );
220220
// Sets an event callback on the `img` because the `figure` element can also
221221
// contain a caption, and we don't want to trigger the lightbox when the
222222
// caption is clicked.

0 commit comments

Comments
 (0)