Explorar o código

Fix notification positioning

Thibaut %!s(int64=11) %!d(string=hai) anos
pai
achega
2a2cef1467
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      assets/javascripts/views/misc/notif.coffee

+ 1 - 1
assets/javascripts/views/misc/notif.coffee

@@ -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'