don't hide close button on unzoomified avatars
This commit is contained in:
parent
67381cf493
commit
8d2b7a15dc
|
@ -10247,8 +10247,6 @@ jQuery(async function () {
|
||||||
|
|
||||||
if (power_user.zoomed_avatar_magnification) {
|
if (power_user.zoomed_avatar_magnification) {
|
||||||
$('.zoomed_avatar_container').izoomify();
|
$('.zoomed_avatar_container').izoomify();
|
||||||
} else {
|
|
||||||
$(`.zoomed_avatar[forChar="${charname}"] .dragClose`).hide();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.zoomed_avatar, .zoomed_avatar .dragClose').on('click touchend', (e) => {
|
$('.zoomed_avatar, .zoomed_avatar .dragClose').on('click touchend', (e) => {
|
||||||
|
|
Loading…
Reference in New Issue