1
0

remove unused 'primary' css class

This commit is contained in:
cryptogopher
2021-05-08 15:38:41 +02:00
parent 847975b36d
commit bb43370329
3 changed files with 3 additions and 3 deletions

View File

@@ -17,7 +17,7 @@
{remote: true, class: 'icon icon-arrow-right'}) %>
</td>
<% @quantities.each do |q| %>
<td class="primary right unwrappable"><%= raw targets[q].to_s %></td>
<td class="right unwrappable"><%= raw targets[q].to_s %></td>
<% end %>
<td class="right shrunk unwrappable"><%= action_links(date) %></td>
</tr>

View File

@@ -1,3 +1,3 @@
<% if @targets.all?(&:destroyed?) %>
$('tr[id=date-<%= @effective_from %>]').nextUntil('tr.primary').addBack().remove();
$('tr[id=date-<%= @effective_from %>]').nextUntil('tr.date').addBack().remove();
<% end %>