diff --git a/android/app/src/main/assets/public/main.js b/android/app/src/main/assets/public/main.js index 8e5e81d0..da56db1a 100644 --- a/android/app/src/main/assets/public/main.js +++ b/android/app/src/main/assets/public/main.js @@ -1593,7 +1593,7 @@ async function openProfile(accountId) { } if (hasDm) { - actionBtnHtml = ``; + actionBtnHtml = ``; } else { let sentInvite = false; let receivedInvite = false; @@ -1648,6 +1648,7 @@ async function openProfile(accountId) { clearAction('profile-loading'); popupContainer.style.display = "flex"; + popupInner.scrollTop = 0; popupContainer.offsetHeight; popupContainer.classList.add("show"); isProfileOpen = true; diff --git a/webroot/main.js b/webroot/main.js index 8e5e81d0..da56db1a 100644 --- a/webroot/main.js +++ b/webroot/main.js @@ -1593,7 +1593,7 @@ async function openProfile(accountId) { } if (hasDm) { - actionBtnHtml = ``; + actionBtnHtml = ``; } else { let sentInvite = false; let receivedInvite = false; @@ -1648,6 +1648,7 @@ async function openProfile(accountId) { clearAction('profile-loading'); popupContainer.style.display = "flex"; + popupInner.scrollTop = 0; popupContainer.offsetHeight; popupContainer.classList.add("show"); isProfileOpen = true;