mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-15 13:48:51 +01:00
5 lines
233 B
Text
5 lines
233 B
Text
<% if @saved -%>
|
|
$('div#line_todo_<%= @todo.id %> a.star_item img').toggleClass('starred_todo').toggleClass('unstarred_todo');
|
|
<% else -%>
|
|
TracksPages.page_notify('error', "Could not toggle the star of this todo", 5);
|
|
<% end -%>
|