Skip to content

Commit 5c10b84

Browse files
Fix PHPUnit test
1 parent 48be441 commit 5c10b84

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
@@ -192,7 +192,7 @@ function block_core_image_render_lightbox( $block_content, $block ) {
192192
$p->set_attribute( 'data-wp-on-window--resize', 'callbacks.setButtonStyles' );
193193
// Set an event to prefetch the image on pointerenter and pointerdown(mobile).
194194
$p->set_attribute( 'data-wp-on--pointerenter', 'actions.prefetchImage' );
195-
$p->set_attribute( 'data-wp-on--pointerdown', 'actions.prefetchImage' );
195+
$p->set_attribute( 'data-wp-on--pointerdown', 'actions.prefetchImage' );
196196
// Sets an event callback on the `img` because the `figure` element can also
197197
// contain a caption, and we don't want to trigger the lightbox when the
198198
// caption is clicked.

0 commit comments

Comments
 (0)