diff options
author | Ben Sturmfels <ben@sturm.com.au> | 2021-08-19 18:50:57 +1000 |
---|---|---|
committer | Ben Sturmfels <ben@sturm.com.au> | 2021-08-19 18:52:10 +1000 |
commit | ea5669f93ef5a06d22f27cf473f8a2fdcada1ce8 (patch) | |
tree | ddf380f344068efff5502d55f359c3151ca80ce3 /mediagoblin/notifications | |
parent | 6c408fb4ea24d43d0cb45dbc253f9de35af120bd (diff) | |
download | mediagoblin-ea5669f93ef5a06d22f27cf473f8a2fdcada1ce8.tar.lz mediagoblin-ea5669f93ef5a06d22f27cf473f8a2fdcada1ce8.tar.xz mediagoblin-ea5669f93ef5a06d22f27cf473f8a2fdcada1ce8.zip |
Convert notifications.js to vanilla JavaScript (no jQuery).
Diffstat (limited to 'mediagoblin/notifications')
-rw-r--r-- | mediagoblin/notifications/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mediagoblin/notifications/__init__.py b/mediagoblin/notifications/__init__.py index 96c0276a..6c31dd00 100644 --- a/mediagoblin/notifications/__init__.py +++ b/mediagoblin/notifications/__init__.py @@ -76,6 +76,7 @@ def mark_comment_notification_seen(comment_id, user): if comment == None: return + # TODO: This seems to always return no comments. comment_gmr = GenericModelReference.query.filter_by( obj_pk=comment.id, model_type=comment.__tablename__ |