aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/home/main.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/home/main.html.erb b/app/views/home/main.html.erb
index 610d86f..5117084 100644
--- a/app/views/home/main.html.erb
+++ b/app/views/home/main.html.erb
@@ -27,6 +27,7 @@
<div class="sidebar position-fixed min-height-100%">
<div ng-repeat="note in noteService.notes">
<a href="#" class="sidebar-link display-block padding-13"
+ ng-class="{ active: noteService.current_note === note }"
ng-click="noteService.get_note(note)"
ng-bind="note.title"></a>
<a href="#" class="delete-link display-none"><span>×</span></a>