remove unused 'primary' css class
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user