mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-24 04:03:34 -08:00
Fixed toggle
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
08525a3c20
commit
7f18180105
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue