From 898be915388e86cbe79f5840389706047fdf553d Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Tue, 29 Sep 2020 01:17:05 -0700 Subject: [PATCH] Spread video embed string over multiple lines. --- frontends/ycdl_flask/templates/channel.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/frontends/ycdl_flask/templates/channel.html b/frontends/ycdl_flask/templates/channel.html index 0c0af11..01f557a 100644 --- a/frontends/ycdl_flask/templates/channel.html +++ b/frontends/ycdl_flask/templates/channel.html @@ -367,7 +367,12 @@ function toggle_embed_video(video_id) let embeds = video_card.getElementsByClassName("video_iframe_holder"); if (embeds.length == 0) { - let html = `
` + let html = ` +
+ +
+ ` let embed = common.html_to_element(html); embed_toolbox.appendChild(embed); show_button.classList.add("hidden");