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();
|
jQuery('#monero_payment_messages').children().hide();
|
||||||
switch(details.status) {
|
switch(details.status) {
|
||||||
case 'unpaid':
|
case 'unpaid':
|
||||||
jQuery('.monero_payment_unpaid').show();
|
jQuery('.monero_payment_unpaid').css("display", "block");
|
||||||
jQuery('.monero_payment_expire_time').html(details.order_expires);
|
jQuery('.monero_payment_expire_time').html(details.order_expires);
|
||||||
break;
|
break;
|
||||||
case 'partial':
|
case 'partial':
|
||||||
jQuery('.monero_payment_partial').show();
|
jQuery('.monero_payment_partial').css("display", "block");
|
||||||
jQuery('.monero_payment_expire_time').html(details.order_expires);
|
jQuery('.monero_payment_expire_time').html(details.order_expires);
|
||||||
break;
|
break;
|
||||||
case 'paid':
|
case 'paid':
|
||||||
jQuery('.monero_payment_paid').show();
|
jQuery('.monero_payment_paid').css("display", "block");
|
||||||
jQuery('.monero_confirm_time').html(details.time_to_confirm);
|
jQuery('.monero_confirm_time').html(details.time_to_confirm);
|
||||||
jQuery('.button-row button').prop("disabled",true);
|
jQuery('.button-row button').prop("disabled",true);
|
||||||
break;
|
break;
|
||||||
case 'confirmed':
|
case 'confirmed':
|
||||||
jQuery('.monero_payment_confirmed').show();
|
jQuery('.monero_payment_confirmed').css("display", "block");
|
||||||
jQuery('.button-row button').prop("disabled",true);
|
jQuery('.button-row button').prop("disabled",true);
|
||||||
break;
|
break;
|
||||||
case 'expired':
|
case 'expired':
|
||||||
jQuery('.monero_payment_expired').show();
|
jQuery('.monero_payment_expired').css("display", "block");
|
||||||
jQuery('.button-row button').prop("disabled",true);
|
jQuery('.button-row button').prop("disabled",true);
|
||||||
break;
|
break;
|
||||||
case 'expired_partial':
|
case 'expired_partial':
|
||||||
jQuery('.monero_payment_expired_partial').show();
|
jQuery('.monero_payment_expired_partial').css("display", "block");
|
||||||
jQuery('.button-row button').prop("disabled",true);
|
jQuery('.button-row button').prop("disabled",true);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@ -158,4 +158,4 @@ jQuery(document).ready(function($) {
|
|||||||
e.clearSelection();
|
e.clearSelection();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user