prevented unnecessary scrollbar when viewing refunds

This commit is contained in:
claudiosmweb 2014-07-25 13:35:59 -03:00
parent acaee93236
commit ba7a1a2e5c
2 changed files with 3 additions and 3 deletions

View File

@ -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