mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-09 21:49:43 -05:00
fix account pic transparency (#5761)
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
@@ -12413,7 +12413,7 @@
|
|||||||
|
|
||||||
function account_manageImageEx2(b, userid) {
|
function account_manageImageEx2(b, userid) {
|
||||||
// Send updated image, or 0 if we pressed the delete button
|
// Send updated image, or 0 if we pressed the delete button
|
||||||
meshserver.send({ action: 'updateUserImage', userid: userid, image: (b == 2)?0:Q('p2canvas').toDataURL('image/jpeg', 0.8) });
|
meshserver.send({ action: 'updateUserImage', userid: userid, image: (b == 2)?0:Q('p2canvas').toDataURL(Q('p2file').files[0].type) });
|
||||||
//meshserver.send({ action: 'updateUserImage', image: (b == 2)?0:Q('p2canvas').toDataURL('image/png', 0.8) });
|
//meshserver.send({ action: 'updateUserImage', image: (b == 2)?0:Q('p2canvas').toDataURL('image/png', 0.8) });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user