Add CHANNEL_ID variable to js via jinja.
This commit is contained in:
parent
415acdf7d1
commit
b76be18b6c
1 changed files with 4 additions and 0 deletions
|
@ -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 = [];
|
||||
|
|
Loading…
Reference in a new issue