Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tigransimonyan committed Dec 17, 2023
1 parent c94decf commit 17aac57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/foo-comments.min.js

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

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ if (commentsElement) {
);
}

if (commentsElement) {
if (!commentsElement) {
console.error(
'No comment section found. Please refer to documentation to include them https://github.com/foo-comments/foo-comments-widget .'
);
Expand Down

0 comments on commit 17aac57

Please sign in to comment.