Unified · Split
| @@ -41,7 +41,7 @@ class app.views.Notif extends app.View · 40 unmodified lines | |||
| 41 | return | 41 | return |
| 42 | 42 | ||
| 43 | position: -> | 43 | position: -> |
| 44 | notifications = $$ ".#{@constructor.className}" | 44 | notifications = $$ ".#{app.views.Notif.className}" |
| 45 | if notifications.length | 45 | if notifications.length |
| 46 | lastNotif = notifications[notifications.length - 1] | 46 | lastNotif = notifications[notifications.length - 1] |
| 47 | @el.style.top = lastNotif.offsetTop + lastNotif.offsetHeight + 16 + 'px' | 47 | @el.style.top = lastNotif.offsetTop + lastNotif.offsetHeight + 16 + 'px' |