fix account pic transparency (#5761)
Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
parent
550ee34f00
commit
bfec20ac81
|
@ -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) });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue