Add CHANNEL_ID variable to js via jinja.

This commit is contained in:
voussoir 2020-06-03 12:58:33 -07:00
parent 415acdf7d1
commit b76be18b6c

View file

@ -254,6 +254,10 @@ https://stackoverflow.com/a/35153397
<script type="text/javascript">
{% if channel is not none %}
var CHANNEL_ID = "{{channel.id}}";
{% endif %}
var DOWNLOAD_FILTER = "{{download_filter if download_filter else ""}}";
var video_card_first_selected = null;
var video_card_selections = [];