fixes bug refs YBW-2713 modify cuxiao coupon js check is app and logged
Showing
1 changed file
with
1 additions
and
1 deletions
@@ -22,7 +22,7 @@ $('#get-all-coupon').click(function() { | @@ -22,7 +22,7 @@ $('#get-all-coupon').click(function() { | ||
22 | if (userIsLogged === 'Y') { | 22 | if (userIsLogged === 'Y') { |
23 | var cookieCouponId = cookie('_Coupon' + activityId); | 23 | var cookieCouponId = cookie('_Coupon' + activityId); |
24 | if (cookieCouponId && !isNaN(cookieCouponId)) { | 24 | if (cookieCouponId && !isNaN(cookieCouponId)) { |
25 | - getNamedCoupon(activityId, cookieCouponId, isApp); | 25 | + getNamedCoupon(activityId, cookieCouponId, isApp, userIsLogged); |
26 | } | 26 | } |
27 | } | 27 | } |
28 | 28 |
-
Please register or login to post a comment