1
0
Fork 0
mirror of https://github.com/DanielnetoDotCom/YouPHPTube synced 2025-10-03 01:39:24 +02:00

Remove unnecessary promise handling for favicon crop zoom initialization

This commit is contained in:
Daniel Neto 2025-06-25 15:17:20 -03:00
parent 62980a2695
commit d825e61fb0

View file

@ -722,9 +722,7 @@ if (User::isAdmin()) {
width: 180,
height: 180
}
}).then(function() {
faviconCrop.croppie('setZoom', 1);
});;
});
setTimeout(function() {
faviconCrop.croppie('setZoom', 1);
}, 1000);