summaryrefslogtreecommitdiffstats
path: root/app/views/issues
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/issues')
-rw-r--r--app/views/issues/_history.rhtml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/issues/_history.rhtml b/app/views/issues/_history.rhtml
index 1ad0c235d..bab37b4fd 100644
--- a/app/views/issues/_history.rhtml
+++ b/app/views/issues/_history.rhtml
@@ -1,4 +1,4 @@
-<% note_id = journals.length %>
+<% note_id = 1 %>
<% for journal in journals %>
<h4><div style="float:right;"><%= link_to "##{note_id}", :anchor => "note-#{note_id}" %></div>
<%= content_tag('a', '', :name => "note-#{note_id}")%>
@@ -9,5 +9,5 @@
<% end %>
</ul>
<%= textilizable(journal.notes) unless journal.notes.blank? %>
- <% note_id -= 1 %>
+ <% note_id += 1 %>
<% end %>