Showing
1 changed file
with
2 additions
and
2 deletions
@@ -15,8 +15,8 @@ $('.address-item').on('touchend', function() { | @@ -15,8 +15,8 @@ $('.address-item').on('touchend', function() { | ||
15 | }).on('touchend', '.edit', function() { | 15 | }).on('touchend', '.edit', function() { |
16 | window.location.href = $(this).data('href'); | 16 | window.location.href = $(this).data('href'); |
17 | return false; | 17 | return false; |
18 | -}).on('touchend', '.del', function() { | ||
19 | - deleteId = $(this).data('address-id'); | 18 | +}).on('touchstart', '.del', function() { |
19 | + deleteId = $(this).data('id'); | ||
20 | }); | 20 | }); |
21 | 21 | ||
22 | $confim.on('touchend', '.confim', function() { | 22 | $confim.on('touchend', '.confim', function() { |
-
Please register or login to post a comment