Commit b49eaf9c6a19affe72c3c226914ee0a1bf73a27b
1 parent
64466d1b
setTimeout
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
www/dist/js/cart.js
... | ... | @@ -230,8 +230,8 @@ $('.popup_window').on('click', '.basket_element_prepack .group_sizes', function( |
230 | 230 | success: function(data){ |
231 | 231 | var $item_num = $element.find('.item_num'); |
232 | 232 | delOrderItem($prev.data('item_id')); |
233 | - setTimeout(add_to_basket(item_id, $item_num.val()), 1000); | |
234 | 233 | //add_to_basket(item_id, $item_num.val()); |
234 | + setTimeout(add_to_basket(item_id, $item_num.val()), 1000); | |
235 | 235 | $element.find('.price_per_unit span').text(data['price']); |
236 | 236 | calculateSumPrice($item_num); |
237 | 237 | }, | ... | ... |