Merge branch 'release/5.4.1' of git.yoho.cn:fe/yohobuy-node into release/5.4.1
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -358,7 +358,7 @@ Cart = { | @@ -358,7 +358,7 @@ Cart = { | ||
358 | if ($('[data-role="gift-sel-btn"]').length) { | 358 | if ($('[data-role="gift-sel-btn"]').length) { |
359 | 359 | ||
360 | new RConfirm(content, function() { | 360 | new RConfirm(content, function() { |
361 | - var $firstGift = $('[data-role="gift-sel-btn"]'); | 361 | + var $firstGift = $('[data-role="gift-sel-btn"]').eq(0); |
362 | var $sitem = $firstGift; | 362 | var $sitem = $firstGift; |
363 | 363 | ||
364 | if (!$sitem.is(':visible')) { | 364 | if (!$sitem.is(':visible')) { |
-
Please register or login to post a comment