Merge branch 'release/4.5' of http://git.dev.yoho.cn/web/yohobuywap into release/4.5
Showing
2 changed files
with
3 additions
and
3 deletions
@@ -29,7 +29,7 @@ function addHistory(brandName, brandId, brandDomain) { | @@ -29,7 +29,7 @@ function addHistory(brandName, brandId, brandDomain) { | ||
29 | 29 | ||
30 | //绑定提交前的存local操作 | 30 | //绑定提交前的存local操作 |
31 | function bindWirteLocal($brandList) { | 31 | function bindWirteLocal($brandList) { |
32 | - $brandList.on('click', 'p , ul', function(e) { | 32 | + $brandList.on('click', 'p , li', function(e) { |
33 | var brandName, brandId, brandDomain, url; | 33 | var brandName, brandId, brandDomain, url; |
34 | var a = $(this).find('a'); | 34 | var a = $(this).find('a'); |
35 | var query = a.attr('brandName') + a.attr('href'), | 35 | var query = a.attr('brandName') + a.attr('href'), |
@@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
24 | <ul class="history clearfix"> | 24 | <ul class="history clearfix"> |
25 | {{# history}} | 25 | {{# history}} |
26 | <li> | 26 | <li> |
27 | - <a href={{url}} brandName = "{{name}} brandId = "{{brandId}}" brandDomain = "{{brandDomain}}">{{name}}</a> | 27 | + <a href={{url}} brandName="{{name}}" brandId="{{brandId}}" brandDomain="{{brandDomain}}">{{name}}</a> |
28 | </li> | 28 | </li> |
29 | {{/ history}} | 29 | {{/ history}} |
30 | </ul> | 30 | </ul> |
@@ -43,7 +43,7 @@ | @@ -43,7 +43,7 @@ | ||
43 | <ul class="hot clearfix"> | 43 | <ul class="hot clearfix"> |
44 | {{# hot}} | 44 | {{# hot}} |
45 | <li> | 45 | <li> |
46 | - <a href={{url}} brandName = "{{name}} brandId = "{{brandId}}" brandDomain = "{{brandDomain}}">{{name}}</a> | 46 | + <a href={{url}} brandName="{{name}}" brandId="{{brandId}}" brandDomain="{{brandDomain}}">{{name}}</a> |
47 | </li> | 47 | </li> |
48 | {{/ hot}} | 48 | {{/ hot}} |
49 | </ul> | 49 | </ul> |
-
Please register or login to post a comment