prevented unnecessary scrollbar when viewing refunds
This commit is contained in:
parent
acaee93236
commit
ba7a1a2e5c
|
@ -311,7 +311,7 @@ jQuery( function ( $ ) {
|
|||
$( 'div.wc-order-bulk-actions' ).slideUp();
|
||||
$( 'div.wc-order-totals-items' ).slideUp();
|
||||
$( '#woocommerce-order-items div.refund' ).show();
|
||||
$( '.wc-order-edit-line-item' ).hide();
|
||||
$( '.wc-order-edit-line-item .wc-order-edit-line-item-actions' ).hide();
|
||||
|
||||
return false;
|
||||
})
|
||||
|
@ -320,7 +320,7 @@ jQuery( function ( $ ) {
|
|||
$( 'div.wc-order-bulk-actions' ).slideDown();
|
||||
$( 'div.wc-order-totals-items' ).slideDown();
|
||||
$( '#woocommerce-order-items div.refund' ).hide();
|
||||
$( '.wc-order-edit-line-item' ).show();
|
||||
$( '.wc-order-edit-line-item .wc-order-edit-line-item-actions' ).show();
|
||||
|
||||
// Reload the items
|
||||
if ( 'true' === $( this ).attr( 'data-reload' ) ) {
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue