mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-06 16:01:47 +01:00
fixed tests for starred todos
This commit is contained in:
parent
2441aa92b5
commit
367476bd77
5 changed files with 8 additions and 8 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<%- if @saved -%>
|
||||
$('div#recurring_todo_<%= @recurring_todo.id %> a.star_item img').toggleClass('starred_todo').toggleClass('unstarred_todo');
|
||||
$('div#recurring_todo_<%= @recurring_todo.id %> a.star_item img').toggleClass('starred');
|
||||
<%- else -%>
|
||||
TracksPages.page_notify('error', '<%= t('todos.error_starring_recurring', :description => @recurring_todo.description) %>', 8);
|
||||
<%- end -%>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue