clean up draggables, gallery, and close buttons

This commit is contained in:
RossAscends
2023-10-14 00:29:41 +09:00
parent d82eb373a6
commit 19ff0fd618
7 changed files with 75 additions and 74 deletions

View File

@@ -1555,11 +1555,14 @@ function doCurMemberListPopout() {
<div id="groupMemberListPopoutClose" class="fa-solid fa-circle-xmark hoverglow"></div>
</div>`
const newElement = $(template);
newElement.attr('id', 'groupMemberListPopout');
newElement.removeClass('zoomed_avatar')
newElement.empty()
newElement.append(controlBarHtml).append(memberListClone)
newElement.attr('id', 'groupMemberListPopout')
.removeClass('zoomed_avatar')
.addClass('draggable')
.empty()
.append(controlBarHtml)
.append(memberListClone)
$('body').append(newElement);
loadMovingUIState();
$("#groupMemberListPopout").fadeIn(250)