Update Notes JS for reversed notes
This commit is contained in:
parent
7563abbe49
commit
07eec9c66a
4 changed files with 27 additions and 11 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue