From b965a82bb1f57e74d2c0a1e188c37adb5fced4b4 Mon Sep 17 00:00:00 2001 From: KyrneDev Date: Wed, 17 Feb 2021 19:34:19 -0800 Subject: [PATCH] format --- js/src/forum/components/PostStreamScrubber.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/src/forum/components/PostStreamScrubber.js b/js/src/forum/components/PostStreamScrubber.js index e08483386..6b8497e44 100644 --- a/js/src/forum/components/PostStreamScrubber.js +++ b/js/src/forum/components/PostStreamScrubber.js @@ -34,9 +34,7 @@ export default class PostStreamScrubber extends Component { const index = this.stream.index; const showBackButton = - this.lastPosition > count / 20 && - this.lastPosition < count - count / 20 && - 100 * Math.abs((index - this.lastPosition) / count) > 25; + this.lastPosition > count / 20 && this.lastPosition < count - count / 20 && 100 * Math.abs((index - this.lastPosition) / count) > 25; const unreadCount = this.stream.discussion.unreadCount(); const unreadPercent = count ? Math.min(count - index, unreadCount) / count : 0; @@ -99,7 +97,7 @@ export default class PostStreamScrubber extends Component { backButton() { return ( -
+
{icon('fas fa-minus')}