1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-05 10:49:36 +02:00

Fix new category

This commit is contained in:
DanielnetoDotCom 2020-12-17 17:09:12 -03:00
parent 47e1c6568a
commit 8d065128c8

View file

@ -38,10 +38,12 @@ $croppieFilesAdded = 1;
height: <?php echo $boundaryHeight; ?>
}
});
$('#upload<?php echo $uid; ?>').off('change');
$('#upload<?php echo $uid; ?>').on('change', function () {
readFileCroppie(this, uploadCrop<?php echo $uid; ?>);
});
$('#upload<?php echo $uid; ?>').off('click');
$('#upload-btn<?php echo $uid; ?>').on('click', function (ev) {
$('#upload<?php echo $uid; ?>').trigger("click");
});