diff --git a/www/modules/antadissimulator/views/js/pochette-bicolor.js b/www/modules/antadissimulator/views/js/pochette-bicolor.js index 05d3b2a4..63a36ede 100644 --- a/www/modules/antadissimulator/views/js/pochette-bicolor.js +++ b/www/modules/antadissimulator/views/js/pochette-bicolor.js @@ -261,10 +261,17 @@ function initFaces() $('.chocos-holder').html($('#temp-base .chocos').contents().clone()); $('.chocos-holder .flipper .front').html($('#temp-bayadere .bayaface').clone()); $('.chocos-holder .flipper .back').html($('#temp-bayadere .bayaface').clone()); - $('.bayaface .col1').addClass('b-'+color1); - $('.bayaface .col2').addClass('b-'+color2); - $('.bayaface .col3').addClass('b-'+color1); - $('.bayaface .col4').addClass('b-'+color2); + + $('.bayaface #col1').attr('class', ''); + $('.bayaface #col2').attr('class', ''); + $('.bayaface #col3').attr('class', ''); + $('.bayaface #col4').attr('class', ''); + + $('.bayaface #col1').addClass('colbaya col1').addClass('b-'+color1); + $('.bayaface #col2').addClass('colbaya col2').addClass('b-'+color2); + $('.bayaface #col3').addClass('colbaya col3').addClass('b-'+color1); + $('.bayaface #col4').addClass('colbaya col4').addClass('b-'+color2); + $('#custom_elmts .noms-holder').clone().appendTo(".chocos-holder .front"); $('#custom_elmts .date-holder-line').clone().appendTo(".chocos-holder .back"); $('.chocos-holder .back .colover').css({'background-image':'url('+themeImg+'/chocos/'+color2+'/1B.png)'});