mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-06 16:01:47 +01:00
I only modified the js that is most likely to be used in cocurrent calls. This because we start the development of Tracks 3 that will change all js.
5 lines
No EOL
229 B
Text
5 lines
No EOL
229 B
Text
<%- if @saved -%>
|
|
$('div#line_todo_<%= @todo.id %> a.star_item img').toggleClass('starred');
|
|
<%- else -%>
|
|
TracksPages.page_notify('error', '<%= t('todos.error_starring', :description => @todo.description) %>', 8);
|
|
<%- end -%> |