Authored by lore-w

code review by yue.liu

@@ -36,7 +36,7 @@ imgTemplate = Handlebars.compile(imgTpl); @@ -36,7 +36,7 @@ imgTemplate = Handlebars.compile(imgTpl);
36 36
37 $('#upload-img').uploadifive({ 37 $('#upload-img').uploadifive({
38 auto: true, 38 auto: true,
39 - fileType: 'image*/*', 39 + fileType: 'image/*',
40 uploadScript: '/home/suggestimgUpload', 40 uploadScript: '/home/suggestimgUpload',
41 fileObjName: 'fileData', 41 fileObjName: 'fileData',
42 fileSizeLimit: 300, 42 fileSizeLimit: 300,
1 {{# hasFavBrand}} 1 {{# hasFavBrand}}
2 <div class="fav-brand-swiper"> 2 <div class="fav-brand-swiper">
3 - <div class="swiper-header"> 3 + <a class="swiper-header" href="{{link}}">
4 <div class="swiper-logo"> 4 <div class="swiper-logo">
5 <img src="{{brandImg}}" alt=""/> 5 <img src="{{brandImg}}" alt=""/>
6 </div> 6 </div>
@@ -15,8 +15,8 @@ @@ -15,8 +15,8 @@
15 {{/ discount}} 15 {{/ discount}}
16 </div> 16 </div>
17 </div> 17 </div>
18 - <a class="fav-more" href="{{link}}"></a>  
19 - </div> 18 + <span class="fav-more"></span>
  19 + </a>
20 {{#if productList}} 20 {{#if productList}}
21 <div id="swiper-container-{{id}}" class="swiper-container" data-id="{{id}}"> 21 <div id="swiper-container-{{id}}" class="swiper-container" data-id="{{id}}">
22 <ul class="swiper-wrapper swiper-wrapper-{{id}}"> 22 <ul class="swiper-wrapper swiper-wrapper-{{id}}">