summaryrefslogtreecommitdiff
path: root/app/views/notes
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-09-14 17:01:34 +0200
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2012-09-14 21:41:57 +0200
commit07eec9c66a910b5a808852f498e1dc9c88b701d2 (patch)
treec2861d2d33484599ba022271e85e8c936bc9d95f /app/views/notes
parent7563abbe49fc16280877be89342d552e0609d57c (diff)
downloadgitlab-ce-07eec9c66a910b5a808852f498e1dc9c88b701d2.tar.gz
Update Notes JS for reversed notes
Diffstat (limited to 'app/views/notes')
-rw-r--r--app/views/notes/index.js.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notes/index.js.haml b/app/views/notes/index.js.haml
index 3d6859eb9a3..3814dbd46a2 100644
--- a/app/views/notes/index.js.haml
+++ b/app/views/notes/index.js.haml
@@ -9,7 +9,7 @@
- else
:plain
- NoteList.setContent(#{@notes.last.id}, "#{escape_javascript(render 'notes/notes')}");
+ NoteList.setContent(#{@notes.first.id}, #{@notes.last.id}, "#{escape_javascript(render 'notes/notes')}");
- else
- if loading_more_notes?