summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-04-10 21:09:31 -0500
committerOmar Roth <omarroth@hotmail.com>2018-04-10 21:09:31 -0500
commit21ef842a2e454915c635bb9edfeac7f7d70b0a5f (patch)
tree32e197601a0fa31acd6a150e72e867adf60a496a /src
parent7a7e735d3655c0253a7dce1aeb273946e4a96c79 (diff)
downloadinvidious-21ef842a2e454915c635bb9edfeac7f7d70b0a5f.tar.gz
invidious-21ef842a2e454915c635bb9edfeac7f7d70b0a5f.tar.bz2
invidious-21ef842a2e454915c635bb9edfeac7f7d70b0a5f.zip
Add ids for watch page elements
Diffstat (limited to 'src')
-rw-r--r--src/views/watch.ecr10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/views/watch.ecr b/src/views/watch.ecr
index 73068c79..696ce56f 100644
--- a/src/views/watch.ecr
+++ b/src/views/watch.ecr
@@ -130,14 +130,14 @@ function toggle_comments(target) {
<p id="Rating">Rating : <%= rating.round(4) %> / 5</p>
<p id="Engagement">Engagement : <%= engagement.round(2) %>%</p>
<% if ad_slots %>
- <p>Ad Slots : <%= ad_slots %></p>
+ <p id="Slots">Ad Slots : <%= ad_slots %></p>
<% end %>
<% if engage_types %>
- <p>Engage Types : <%= engage_types %></p>
+ <p id="Engage">Engage Types : <%= engage_types %></p>
<% end %>
<% if ad_tag %>
- <p>Ad Category : <%= ad_category %></p>
- <p>Ad Tags(?) : <%= k2 %></p>
+ <p id="Category">Ad Category : <%= ad_category %></p>
+ <p id="Tags">Ad Tags(?) : <%= k2 %></p>
<% end %>
</div>
</div>
@@ -172,7 +172,7 @@ function toggle_comments(target) {
</div>
<hr style="margin-left:1em; margin-right:1em;">
<% if reddit_thread && !reddit_html.empty? %>
- <div>
+ <div id="Comments">
<div>
<h3>
<a href="javascript:void(0)" onclick="toggle_comments(this)">[ - ]</a>