Update Redditlikechatter.HTML

This commit is contained in:
Dangrainage 2023-11-08 18:41:00 +01:00 committed by GitHub
parent b32dbd1d63
commit 8f394d2d72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -123,7 +123,8 @@
preview.src = imageUrl;
preview.width = 30;
preview.height = 30;
usernameInput.parentNode.insertBefore(preview, usernameInput);
// Insert the image preview after the username input
usernameInput.parentNode.insertBefore(preview, usernameInput.nextSibling);
} else {
imagePreview.src = imageUrl;
}