summaryrefslogtreecommitdiff
path: root/design/templates
diff options
context:
space:
mode:
Diffstat (limited to 'design/templates')
-rw-r--r--design/templates/details/entry.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/design/templates/details/entry.html b/design/templates/details/entry.html
index 25d1462..7915f21 100644
--- a/design/templates/details/entry.html
+++ b/design/templates/details/entry.html
@@ -77,6 +77,7 @@ class="{%if t == 0 or t == 2 %}single{%endif%}{%if t == 1 or t == 3 %}double{%en
<script src="/media/js/detail.min.js"></script>
{%endif%}{%endwith%}
+{%if comment_count > 0 %}
<script type="text/javascript">
window.onload = function() {
//delay loading of gravatar images using noscript data-hash attribute
@@ -94,6 +95,7 @@ window.onload = function() {
{%endif%}{%endwith%}
}
</script>
+{%endif%}
{% with object.template_name as t %}{%if t == 1 or t == 3 %}
<script src="{{MEDIA_URL}}js/hyphenate.min.js" type="text/javascript"></script>
{%endif%}{%endwith%}{%endblock%}