diff --git a/frontend/web/js/basket.js b/frontend/web/js/basket.js index a9ac6ab..0657dfc 100644 --- a/frontend/web/js/basket.js +++ b/frontend/web/js/basket.js @@ -46,13 +46,15 @@ $(document).ready(function(){ $.post( "/orders/delete", {id: id}, function( data ) { }); - + var forCount = block.parents('ul'); $('.order_list_li[data-id='+id+']').each(function(){ var block = $(this); block.remove(); }); + countPrise(forCount); + + - countPrise(block); }); -- libgit2 0.21.4