History

Fix notification positioning

Thibaut committed 11 years ago

Commit 2a2cef11 parent 90a59031 file · +1 −1Browse files

Unified · Split

assets/javascripts/views/misc/notif.coffee+1−1
@@ -41,7 +41,7 @@ class app.views.Notif extends app.View · 40 unmodified lines
4141 return
4242
4343 position: ->
44− notifications = $$ ".#{@constructor.className}"
44+ notifications = $$ ".#{app.views.Notif.className}"
4545 if notifications.length
4646 lastNotif = notifications[notifications.length - 1]
4747 @el.style.top = lastNotif.offsetTop + lastNotif.offsetHeight + 16 + 'px'