Removed not longer needed @container, added js-notificationsContainer for browser testing.

This commit is contained in:
Martin Edenhofer 2016-03-21 16:11:49 +01:00
parent 21817abab6
commit fd93057d45

View file

@ -1,7 +1,7 @@
class App.OnlineNotificationWidget extends App.Controller
alreadyShown: {}
shown: false
className: 'popover popover--notifications right'
className: 'popover popover--notifications right js-notificationsContainer'
attributes:
role: 'tooltip'
@ -13,7 +13,6 @@ class App.OnlineNotificationWidget extends App.Controller
'keydown': 'listNavigate'
elements:
'.js-notificationsContainer': 'container'
'.js-mark': 'mark'
'.js-item': 'item'
'.js-content': 'content'
@ -144,9 +143,6 @@ class App.OnlineNotificationWidget extends App.Controller
if (heightPopoverHeader + heightPopoverContent + heightPopoverSpacer) > heightApp
heightPopoverContent = heightApp - heightPopoverHeader - heightPopoverSpacer
@container.addClass('is-overflowing')
else
@container.removeClass('is-overflowing')
@content.css('height', heightPopoverContent)