Add ids for watch page elements

This commit is contained in:
Omar Roth 2018-04-10 21:09:31 -05:00
parent 7a7e735d36
commit 21ef842a2e

View file

@ -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>