Move CSS check up

5c7b95cc152482632fdd4cff3ca23e508a0728e9

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +2 -2Showing whitespace changes
public/scripts/group-chats.js+2 -2
@@ -1966,11 +1966,11 @@ function doCurMemberListPopout() {
19661966}
19671967
19681968jQuery(() => {
1969- $(document).on('input', '#rm_group_chats_block .autoSetHeight', function () {
19701969 if (!CSS.supports('field-sizing', 'content')) {
1970+ $(document).on('input', '#rm_group_chats_block .autoSetHeight', function () {
19711971 resetScrollHeight($(this));
1972- }
19731972 });
1973+ }
19741974
19751975 $(document).on('click', '.group_select', function () {
19761976 const groupId = $(this).attr('chid') || $(this).attr('grid') || $(this).data('id');