File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
packages/block-library/src/image Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ function block_core_image_render_lightbox( $block_content, $block ) {
212
212
$ p ->set_attribute ( 'data-wp-on-async-window--resize ' , 'callbacks.setButtonStyles ' );
213
213
// Set an event to prefetch the image on pointerenter and pointerdown(mobile).
214
214
$ 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 ' );
216
216
// Sets an event callback on the `img` because the `figure` element can also
217
217
// contain a caption, and we don't want to trigger the lightbox when the
218
218
// caption is clicked.
You can’t perform that action at this time.
0 commit comments