search brands search url
Showing
1 changed file
with
2 additions
and
1 deletions
@@ -157,10 +157,11 @@ function checkMoreBrands(callback) { | @@ -157,10 +157,11 @@ function checkMoreBrands(callback) { | ||
157 | // /product/search/filter/brands?callback=? | 157 | // /product/search/filter/brands?callback=? |
158 | var url = '//search.yohobuy.com/product/search/filter/brands?callback=?'; | 158 | var url = '//search.yohobuy.com/product/search/filter/brands?callback=?'; |
159 | var brandsHtml; | 159 | var brandsHtml; |
160 | + var params = (location.search || '').substr(1); | ||
160 | 161 | ||
161 | if (!moreBrandLoaded) { | 162 | if (!moreBrandLoaded) { |
162 | 163 | ||
163 | - $.getJSON(url, location.search, function(jsonData) { | 164 | + $.getJSON(url, params, function(jsonData) { |
164 | 165 | ||
165 | if (jsonData.code === 200) { | 166 | if (jsonData.code === 200) { |
166 | 167 |
-
Please register or login to post a comment