Fix notification positioning

pull/142/merge
Thibaut 10 years ago
parent 90a59030b8
commit 2a2cef1467

@ -41,7 +41,7 @@ class app.views.Notif extends app.View
return
position: ->
notifications = $$ ".#{@constructor.className}"
notifications = $$ ".#{app.views.Notif.className}"
if notifications.length
lastNotif = notifications[notifications.length - 1]
@el.style.top = lastNotif.offsetTop + lastNotif.offsetHeight + 16 + 'px'

Loading…
Cancel
Save