1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 09:49:28 +02:00
Daniel Neto 2023-11-14 15:29:22 -03:00
parent 71198b9836
commit d4bb9cf9d8
5 changed files with 276 additions and 217 deletions

View file

@ -2163,18 +2163,6 @@ function readFileCroppie(input, crop) {
}
}
function getCroppie(uploadCropObject, callback, width, height) {
//console.log('getCroppie 1', uploadCropObject);
var ret = uploadCropObject.croppie('result', { type: 'base64', size: { width: width, height: height }, format: 'png' }).then(function (resp) {
////console.log('getCroppie 2 ' + callback, resp);
eval(callback + "(resp);");
}).catch(function (err) {
//console.log('cropieError getCroppie => ' + callback, err);
eval(callback + "(null);");
});
//console.log('getCroppie 3', ret);
}
let tooltipTimeout = null;
let isExecutingTooltip = false;