Authored by 毕凯

Merge branch 'hotfix/seckillClick' into 'master'

重复绑定click事件



See merge request !259
@@ -808,17 +808,10 @@ $yohoPage.on('touchstart', '.btn-minus', function() { @@ -808,17 +808,10 @@ $yohoPage.on('touchstart', '.btn-minus', function() {
808 }); 808 });
809 809
810 } else { 810 } else {
811 -  
812 - $('#chose-btn-sure').click(  
813 - function() {  
814 - var thisSkn = $('#productSkn').val();  
815 - var thisSku = '';  
816 -  
817 - thisSku = $('.size-list').find('.chosed').attr('data-skuid');  
818 -  
819 - window.location.href = '/cart/index/seckill?skn=' + thisSkn + '&sku=' + thisSku;  
820 - }  
821 - ); 811 + var thisSkn = $('#productSkn').val();
  812 + var thisSku = '';
  813 + thisSku = $('.size-list').find('.chosed').attr('data-skuid');
  814 + window.location.href = '/cart/index/seckill?skn=' + thisSkn + '&sku=' + thisSku;
822 } 815 }
823 816
824 } 817 }