Remove @original_item_due_id

Remove one last @original_item_due_id from app/views/todos/destroy.js.erb
This commit is contained in:
Jan-Yves Ruzicka 2019-12-22 12:33:02 +13:00
parent c66ce02cb6
commit 4ea94152c4

View file

@ -12,7 +12,7 @@
function show_empty_messages() {
<% if @old_due_empty -%>
$('#empty_<%=@original_item_due_id%>').slideDown(1000);
$('#empty_<%=get_due_id_for_calendar(@original_item.due)%>').slideDown(1000);
<% end -%>
<% if todo_container_is_empty -%>