aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
diff options
context:
space:
mode:
authorBen Sturmfels <ben@sturm.com.au>2021-08-19 18:50:57 +1000
committerBen Sturmfels <ben@sturm.com.au>2021-08-19 18:52:10 +1000
commitea5669f93ef5a06d22f27cf473f8a2fdcada1ce8 (patch)
treeddf380f344068efff5502d55f359c3151ca80ce3 /mediagoblin/templates
parent6c408fb4ea24d43d0cb45dbc253f9de35af120bd (diff)
downloadmediagoblin-ea5669f93ef5a06d22f27cf473f8a2fdcada1ce8.tar.lz
mediagoblin-ea5669f93ef5a06d22f27cf473f8a2fdcada1ce8.tar.xz
mediagoblin-ea5669f93ef5a06d22f27cf473f8a2fdcada1ce8.zip
Convert notifications.js to vanilla JavaScript (no jQuery).
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r--mediagoblin/templates/mediagoblin/base.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/mediagoblin/templates/mediagoblin/base.html b/mediagoblin/templates/mediagoblin/base.html
index 4b3b9846..4bbaa21c 100644
--- a/mediagoblin/templates/mediagoblin/base.html
+++ b/mediagoblin/templates/mediagoblin/base.html
@@ -42,11 +42,6 @@
href="{{ request.staticdirect('/images/goblin.ico') }}" />
<script type="text/javascript"
src="{{ request.staticdirect('/js/extlib/jquery.js') }}"></script>
- <script type="text/javascript"
- src="{{ request.staticdirect('/js/notifications.js') }}"></script>
- <script>
- var mark_all_comments_seen_url = "{{ request.urlgen('mediagoblin.notifications.mark_all_comment_notifications_seen') }}"
- </script>
{# For clarification, the difference between the extra_head.html template
# and the head template hook is that the former should be used by
@@ -185,6 +180,11 @@
{%- endblock mediagoblin_body %}
<script type="text/javascript"
src="{{ request.staticdirect('/js/header_dropdown.js') }}"></script>
+ <script type="text/javascript"
+ src="{{ request.staticdirect('/js/notifications.js') }}"></script>
+ <script>
+ var mark_all_comments_seen_url = "{{ request.urlgen('mediagoblin.notifications.mark_all_comment_notifications_seen') }}"
+ </script>
{% include 'mediagoblin/bits/body_end.html' %}
</body>
</html>