diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2021-06-12 18:55:18 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2021-06-12 18:55:18 +0000 |
| commit | e825021ef1ae7a672b275227a6a1ff44d5f522bc (patch) | |
| tree | 54335c9f5c87599026596484ba523506d24c8fce /src | |
| parent | 9c70f3e4df2e28863b51156fdbd25e253a3a1b98 (diff) | |
Apply 1 suggestion(s) to 1 file(s)
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/status/status.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
