diff --git a/www/modules/antadissimulator/views/js/doublecube-bicolor.js b/www/modules/antadissimulator/views/js/doublecube-bicolor.js index c9a7629e..043647b2 100644 --- a/www/modules/antadissimulator/views/js/doublecube-bicolor.js +++ b/www/modules/antadissimulator/views/js/doublecube-bicolor.js @@ -176,10 +176,15 @@ function initFaces() $('.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); // DC $('#custom_elmts .noms-holder').clone().appendTo(".container-db .db-cube1 .front") diff --git a/www/modules/antadissimulator/views/templates/hook/productbloc/doublecube-bicolor.tpl b/www/modules/antadissimulator/views/templates/hook/productbloc/doublecube-bicolor.tpl index efef22a5..ae741d51 100644 --- a/www/modules/antadissimulator/views/templates/hook/productbloc/doublecube-bicolor.tpl +++ b/www/modules/antadissimulator/views/templates/hook/productbloc/doublecube-bicolor.tpl @@ -191,10 +191,10 @@
-
-
-
-
+
+
+
+