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:
parent
62980a2695
commit
d825e61fb0
1 changed files with 1 additions and 3 deletions
|
@ -722,9 +722,7 @@ if (User::isAdmin()) {
|
|||
width: 180,
|
||||
height: 180
|
||||
}
|
||||
}).then(function() {
|
||||
faviconCrop.croppie('setZoom', 1);
|
||||
});;
|
||||
});
|
||||
setTimeout(function() {
|
||||
faviconCrop.croppie('setZoom', 1);
|
||||
}, 1000);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue