summaryrefslogtreecommitdiffstats
path: root/ui/src/components/post.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2019-05-18 16:41:22 -0700
committerDessalines <tyhou13@gmx.com>2019-05-18 16:41:22 -0700
commitd1fee01c6a9675ed24b5d37bd1738d5eb770d511 (patch)
treeea5625f667d5d48b2520b362e89824e26884a06b /ui/src/components/post.tsx
parent9283501f234fd732e9dff2a8480ebc7239154128 (diff)
Adding browser notifications.
- Fixes #153
Diffstat (limited to 'ui/src/components/post.tsx')
-rw-r--r--ui/src/components/post.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/components/post.tsx b/ui/src/components/post.tsx
index 7b2f790e..8fa18fbf 100644
--- a/ui/src/components/post.tsx
+++ b/ui/src/components/post.tsx
@@ -69,7 +69,7 @@ export class Post extends Component<any, PostState> {
if (this.state.scrolled_comment_id && !this.state.scrolled && lastState.comments.length > 0) {
var elmnt = document.getElementById(`comment-${this.state.scrolled_comment_id}`);
elmnt.scrollIntoView();
- elmnt.classList.add("mark");
+ elmnt.classList.add("mark-two");
this.state.scrolled = true;
}
}