Showing
1 changed file
with
1 additions
and
1 deletions
@@ -20,7 +20,7 @@ if (homePage === 'brands') { | @@ -20,7 +20,7 @@ if (homePage === 'brands') { | ||
20 | require('./brands'); | 20 | require('./brands'); |
21 | } | 21 | } |
22 | 22 | ||
23 | -if (['boys','girls','kids','lifestyle'].indexOf(homePage) > -1) { | 23 | +if ($.inArray(homePage,['boys','girls','kids','lifestyle'])>-1) { |
24 | require('../common/new-arrivls')({ | 24 | require('../common/new-arrivls')({ |
25 | type: homePage, | 25 | type: homePage, |
26 | url: '/common/getNewArrival', | 26 | url: '/common/getNewArrival', |
-
Please register or login to post a comment