Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop
Showing
1 changed file
with
3 additions
and
1 deletions
@@ -214,5 +214,7 @@ $('#yoho-footer').css({ | @@ -214,5 +214,7 @@ $('#yoho-footer').css({ | ||
214 | 214 | ||
215 | //set cookie | 215 | //set cookie |
216 | exports.set = function(c) { | 216 | exports.set = function(c) { |
217 | - window.setCookie('_Channel', c); | 217 | + window.setCookie('_Channel', c, { |
218 | + expires: 365 | ||
219 | + }); | ||
218 | }; | 220 | }; |
-
Please register or login to post a comment