From 8b426add280ed3a962e9790d8bffbf444c35547f Mon Sep 17 00:00:00 2001 From: HJ <30-hj@users.noreply.git.pleroma.social> Date: Sat, 12 Jun 2021 18:55:18 +0000 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) --- src/components/status/status.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/status/status.js b/src/components/status/status.js index ae734493..3c21cb76 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -352,7 +352,7 @@ const Status = { // Post is above screen, match its top to screen top window.scrollBy(0, rect.top - 100) } else if (rect.height >= (window.innerHeight - 50)) { - // Post we wahttp://localhost:8080/users/hj/dmsnt to see is taller than screen so match its top to screen top + // Post we want to see is taller than screen so match its top to screen top window.scrollBy(0, rect.top - 100) } else if (rect.bottom > window.innerHeight - 50) { // Post is below screen, match its bottom to screen bottom