app/assets/javascripts/store/spree_minicart.js in spree_minicart-0.0.2 vs app/assets/javascripts/store/spree_minicart.js in spree_minicart-0.0.3

- old
+ new

@@ -22,25 +22,25 @@ { $(this).data('init', true); $(this).hoverIntent ({ over: function(){ - $(this).find("[data-hook='cart_item_description']").hide() - $(this).find("[data-hook='cart_item_actions']").show() + $(this).find("[data-hook='minicart_item_description']").hide() + $(this).find("[data-hook='minicart_item_actions']").show() }, timeout: 100, // number = milliseconds delay before onMouseOut out: function(){ - $(this).find("[data-hook='cart_item_description']").show() - $(this).find("[data-hook='cart_item_actions']").hide() + $(this).find("[data-hook='minicart_item_description']").show() + $(this).find("[data-hook='minicart_item_actions']").hide() } }); $(this).trigger(e); } }); $('form#update-minicart a.delete').live('click', function(e){ - $(this).parent().siblings('div[data-hook="cart_item_quantity"]').find("input.line_item_quantity").val(0); + $(this).parent().siblings('div[data-hook="minicart_item_quantity"]').find("input.line_item_quantity").val(0); $(this).parents('form').first().submit(); e.preventDefault(); }); $("form[data-remote]").live("ajax:beforeSend", function(){ \ No newline at end of file