Skip to content

Commit

Permalink
Duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
KyrneDev committed Jul 8, 2020
1 parent 99946e6 commit 7455bc3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion js/dist/forum.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dist/forum.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions js/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions js/src/forum/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ app.initializers.add('fof-realtimedate', () => {
const $this = $(this);
const ago = humanTime($this.attr('datetime'));

if ($this.children()) {
return;
}

$this.html(ago);
});
}
Expand Down

0 comments on commit 7455bc3

Please sign in to comment.