Remove console.log

This commit is contained in:
Michael RICOIS 2017-08-24 12:08:52 +02:00
parent 7e68e8b70f
commit a0161edbcb

View File

@ -136,7 +136,6 @@ $('.container-db').on('click', '.cubeface', function(e){
var faceSelected = $(this).data('id');
if ($('#'+cubeSelected+'-'+faceSelected+'TYPE').length && $('#'+cubeSelected+'-'+faceSelected+'TYPE').val() != '') {
console.log(cubeSelected+' '+faceSelected);
$('select[name=select-custom]').val($('#'+cubeSelected+'-'+faceSelected+'TYPE').val());
$('textarea[name=select-txt]').val($('#'+cubeSelected+'-'+faceSelected+'TEXT').val());
$('select[name=select-font]').val($('#'+cubeSelected+'-'+faceSelected+'FONT').val());
@ -258,7 +257,6 @@ function initInfos()
function defCUSTOM(obj){
item = obj.parent().data('id');
console.log(item);
$('#'+item+'TYPE').val($('select[name=select-custom]').val());
$('#'+item+'TEXT').val($('textarea[name=select-txt]').val().replace(/\n/g, "<br/>"));
$('#'+item+'COLOR').val($('#colorpicker1 option:selected').data('id'));