Ticket #53035: 53035.patch
File 53035.patch, 691 bytes (added by , 4 years ago) |
---|
-
wp-admin/js/privacy-tools.js
277 277 var $parent, 278 278 range, 279 279 $target = $( event.target ), 280 copiedNotice = $target. siblings( '.success' );280 copiedNotice = $target.closest( 'button.privacy-text-copy' ).siblings( '.success' ); 281 281 282 282 clearTimeout( copiedNoticeTimeout ); 283 283 284 if ( $target. is( 'button.privacy-text-copy' )) {284 if ( $target.closest( 'button.privacy-text-copy' ).length ) { 285 285 $parent = $target.closest( '.privacy-settings-accordion-panel' ); 286 286 287 287 if ( $parent.length ) {