Changed show commands to display block for easy CSS
This commit is contained in:
parent
d056060ace
commit
1f351231e5
@ -36,28 +36,28 @@ function monero_updateDetails() {
|
||||
jQuery('#monero_payment_messages').children().hide();
|
||||
switch(details.status) {
|
||||
case 'unpaid':
|
||||
jQuery('.monero_payment_unpaid').show();
|
||||
jQuery('.monero_payment_unpaid').css("display", "block");
|
||||
jQuery('.monero_payment_expire_time').html(details.order_expires);
|
||||
break;
|
||||
case 'partial':
|
||||
jQuery('.monero_payment_partial').show();
|
||||
jQuery('.monero_payment_partial').css("display", "block");
|
||||
jQuery('.monero_payment_expire_time').html(details.order_expires);
|
||||
break;
|
||||
case 'paid':
|
||||
jQuery('.monero_payment_paid').show();
|
||||
jQuery('.monero_payment_paid').css("display", "block");
|
||||
jQuery('.monero_confirm_time').html(details.time_to_confirm);
|
||||
jQuery('.button-row button').prop("disabled",true);
|
||||
break;
|
||||
case 'confirmed':
|
||||
jQuery('.monero_payment_confirmed').show();
|
||||
jQuery('.monero_payment_confirmed').css("display", "block");
|
||||
jQuery('.button-row button').prop("disabled",true);
|
||||
break;
|
||||
case 'expired':
|
||||
jQuery('.monero_payment_expired').show();
|
||||
jQuery('.monero_payment_expired').css("display", "block");
|
||||
jQuery('.button-row button').prop("disabled",true);
|
||||
break;
|
||||
case 'expired_partial':
|
||||
jQuery('.monero_payment_expired_partial').show();
|
||||
jQuery('.monero_payment_expired_partial').css("display", "block");
|
||||
jQuery('.button-row button').prop("disabled",true);
|
||||
break;
|
||||
}
|
||||
@ -158,4 +158,4 @@ jQuery(document).ready(function($) {
|
||||
e.clearSelection();
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user