Skip to content

Commit 7593d56

Browse files
Fix PHPUnit test
1 parent c58ed14 commit 7593d56

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
@@ -212,7 +212,7 @@ function block_core_image_render_lightbox( $block_content, $block ) {
212212
$p->set_attribute( 'data-wp-on-async-window--resize', 'callbacks.setButtonStyles' );
213213
// Set an event to prefetch the image on pointerenter and pointerdown(mobile).
214214
$p->set_attribute( 'data-wp-on--pointerenter', 'actions.prefetchImage' );
215-
$p->set_attribute( 'data-wp-on--pointerdown', 'actions.prefetchImage' );
215+
$p->set_attribute( 'data-wp-on--pointerdown', 'actions.prefetchImage' );
216216
// Sets an event callback on the `img` because the `figure` element can also
217217
// contain a caption, and we don't want to trigger the lightbox when the
218218
// caption is clicked.

0 commit comments

Comments
 (0)