Changeset 47031
- Timestamp:
- 01/02/2020 12:09:27 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/js/_enqueues/admin/site-health.js
r46586 r47031 283 283 function updateDirSizes( data ) { 284 284 var copyButton = $( 'button.button.copy-button' ); 285 var clip doardText = copyButton.attr( 'data-clipboard-text' );285 var clipboardText = copyButton.attr( 'data-clipboard-text' ); 286 286 287 287 $.each( data, function( name, value ) { … … 289 289 290 290 if ( typeof text !== 'undefined' ) { 291 clip doardText = clipdoardText.replace( name + ': loading...', name + ': ' + text );291 clipboardText = clipboardText.replace( name + ': loading...', name + ': ' + text ); 292 292 } 293 293 } ); 294 294 295 copyButton.attr( 'data-clipboard-text', clip doardText );295 copyButton.attr( 'data-clipboard-text', clipboardText ); 296 296 297 297 pathsSizesSection.find( 'td[class]' ).each( function( i, element ) {
Note: See TracChangeset
for help on using the changeset viewer.