소스 검색

Fix notification positioning

Thibaut 11 년 전
부모
커밋
2a2cef1467
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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'