From d8a01454dc4c0613fc2310beea6c9a82da8e679f Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Wed, 12 Apr 2017 19:10:38 +0300 Subject: [PATCH] another lint fix --- 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 82de0fd2..5e7bde53 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -107,7 +107,7 @@ const Status = { let rect = this.$el.getBoundingClientRect() if (rect.top < 100) { window.scrollBy(0, rect.top - 200) - } else if(rect.bottom > window.innerHeight - 100) { + } else if (rect.bottom > window.innerHeight - 100) { // will be useful when scrolling down to replies or root posts is in window.scrollBy(0, rect.bottom + 200) }