Fixed toggle

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-06-27 10:26:37 -07:00
parent 08525a3c20
commit 7f18180105

View file

@ -327,13 +327,14 @@
$("#optional_info").on("click",function(){
$("#optional_info_icon").addClass("fa-caret-down").removeClass("fa-caret-right");
$('#optional_details').show();
//$("#optional_info_icon").addClass("fa-caret-down").removeClass("fa-caret-right");
$('#optional_details').fadeToggle(300);
$('#optional_info_icon').toggleClass('fa-caret-right fa-caret-down');
})
$("#order_info").on("click",function(){
$("#order_info_icon").addClass("fa-caret-down").removeClass("fa-caret-right");
$('#order_details').show();
$("#order_info_icon").toggleClass('fa-caret-right fa-caret-down');
$('#order_details').fadeToggle(300);
})
@ -342,8 +343,5 @@
</script>
@stop