diff options
| -rw-r--r-- | client/js/models/post.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/js/models/post.js b/client/js/models/post.js index 56a9450..8002a0c 100644 --- a/client/js/models/post.js +++ b/client/js/models/post.js @@ -79,7 +79,9 @@ class Post extends events.EventTarget { } isTaggedWith(tagName) { - return this._tags.map(s => s.toLowerCase()).includes(tagName); + return this._tags + .map(s => s.toLowerCase()) + .includes(tagName.toLowerCase()); } addTag(tagName, addImplications) { |