From 6a7d0557e24eb8e1b738ca4bd2eae3eef8371288 Mon Sep 17 00:00:00 2001
From: zrose584 <57181548+zrose584@users.noreply.github.com>
Date: Fri, 9 Oct 2020 18:55:04 +0200
Subject: jinja: only include 'comments.js' if needed
---
youtube/templates/watch.html | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
(limited to 'youtube/templates')
diff --git a/youtube/templates/watch.html b/youtube/templates/watch.html
index c44e01d..86644ea 100644
--- a/youtube/templates/watch.html
+++ b/youtube/templates/watch.html
@@ -690,9 +690,11 @@ Reload without invidious (for usage of new identity button).
{% endif %}
+
{% if settings.use_video_hotkeys %}
{% endif %}
-
-
+ {% if settings.use_comments_js %}
+
+ {% endif %}
{% endblock main %}
--
cgit v1.2.3