Permalink
Browse files

use on and not live in cart.js

  • Loading branch information...
1 parent 07b3e03 commit eea86abd705792c8a9d01d1142ab4c5e04ee43c6 @radar radar committed Jun 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/app/assets/javascripts/store/cart.js
@@ -1,7 +1,7 @@
(function($){
$(document).ready(function(){
if($('form#update-cart').is('*')){
- $('form#update-cart a.delete').show().live('click', function(e){
+ $('form#update-cart a.delete').show().on('click', function(e){
$(this).parents('.line-item').first().find('input.line_item_quantity').val(0);
$(this).parents('form').first().submit();
e.preventDefault();

0 comments on commit eea86ab

Please sign in to comment.