From ee581c56a3676936110bbcca8bc755f5adb59b6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sun, 29 Aug 2021 21:44:08 -0500 Subject: fix missing data variable --- youtube/templates/base.html | 8 ++++++++ youtube/templates/embed.html | 7 +++++++ 2 files changed, 15 insertions(+) diff --git a/youtube/templates/base.html b/youtube/templates/base.html index 4ab722d..8795027 100644 --- a/youtube/templates/base.html +++ b/youtube/templates/base.html @@ -13,6 +13,14 @@ {% block style %} {{ style }} {% endblock %} + + {% if js_data %} + + {% endif %} diff --git a/youtube/templates/embed.html b/youtube/templates/embed.html index 6a2998b..46d58fe 100644 --- a/youtube/templates/embed.html +++ b/youtube/templates/embed.html @@ -26,6 +26,13 @@ display: none !important; } + {% if js_data %} + + {% endif %}