Commit 922b2dda authored by imac's avatar imac

[Bugfix]JIRA : Nap-45 -> Add border to white color

parent f48cd089
...@@ -624,15 +624,6 @@ $(document).ready(function(){ ...@@ -624,15 +624,6 @@ $(document).ready(function(){
$('.product-list article').each(function(){ $('.product-list article').each(function(){
$(this).showProductListColors(); $(this).showProductListColors();
}); });
$('.list-wrapper .color-list').each(function(){
var elem = $(this).find('input'),
isWhite = checkWhiteColor(elem.data('color'));
//console.log(isWhite + 'iswhite/color' + elem.data('color'));
if(isWhite != elem.data('color')){
elem.addClass('is-white');
}
});
setTimeout(function(){ setTimeout(function(){
onScrollCover(); onScrollCover();
}, 330); }, 330);
......
...@@ -10,6 +10,13 @@ function loadProductContent() { ...@@ -10,6 +10,13 @@ function loadProductContent() {
$('.pa_couleur li').getListColors(); $('.pa_couleur li').getListColors();
$('.pa_couleur li').selectColor(); $('.pa_couleur li').selectColor();
$('.pa_format li').selectFormat(); $('.pa_format li').selectFormat();
$('.list-wrapper .color-list').each(function(){
var elem = $(this).find('input'),
isWhite = checkWhiteColor(elem.data('color'));
if(isWhite != elem.data('color')){
elem.addClass('is-white');
}
});
$('#zoom').zoom(); $('#zoom').zoom();
$('article[data-color], .pa_couleur li').click(function(e) { $('article[data-color], .pa_couleur li').click(function(e) {
$(this).selectSlide($('#slides')); $(this).selectSlide($('#slides'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment