jinja: only include 'comments.js' if needed
This commit is contained in:
@@ -690,9 +690,11 @@ Reload without invidious (for usage of new identity button).</a>
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<script src="/youtube.com/static/js/common.js"></script>
|
<script src="/youtube.com/static/js/common.js"></script>
|
||||||
|
<script src="/youtube.com/static/js/transcript-table.js"></script>
|
||||||
{% if settings.use_video_hotkeys %}
|
{% if settings.use_video_hotkeys %}
|
||||||
<script src="/youtube.com/static/js/hotkeys.js"></script>
|
<script src="/youtube.com/static/js/hotkeys.js"></script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<script src="/youtube.com/static/js/transcript-table.js"></script>
|
{% if settings.use_comments_js %}
|
||||||
<script src="/youtube.com/static/js/comments.js"></script>
|
<script src="/youtube.com/static/js/comments.js"></script>
|
||||||
|
{% endif %}
|
||||||
{% endblock main %}
|
{% endblock main %}
|
||||||
|
|||||||
Reference in New Issue
Block a user