Fix pochette image

This commit is contained in:
Michael RICOIS 2017-10-25 14:34:34 +02:00
parent c66527647d
commit a1fa38a791

View File

@ -77,6 +77,7 @@ function initFaces()
var reader = new FileReader();
reader.onload = function(e){
$('.pochette'+v+' .pochetteface .imgface').css('background-image', 'url('+e.target.result+')');
$('.choco'+v+' .front .imgface').css('background-image', 'url('+e.target.result+')');
};
reader.readAsDataURL(request.response);
}