This commit is contained in:
Michael RICOIS 2017-10-05 12:43:17 +02:00
parent 209812b931
commit 5465417c63

View File

@ -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)'});