Merge branch 'develop' of github.com:martini/zammad into develop
This commit is contained in:
commit
b0c14b81d5
1 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,6 @@ class App.OnlineNotificationWidget extends App.Controller
|
|||
)
|
||||
|
||||
$(window).on 'click.notifications', @hide
|
||||
$(window).on 'keydown.notifications', @listNavigate
|
||||
|
||||
@updateContent()
|
||||
|
||||
|
@ -207,11 +206,13 @@ class App.OnlineNotificationWidget extends App.Controller
|
|||
@show()
|
||||
|
||||
show: =>
|
||||
$(window).on 'keydown.notifications', @listNavigate
|
||||
@shown = true
|
||||
@el.show()
|
||||
@updateHeight()
|
||||
|
||||
hide: =>
|
||||
$(window).off 'keydown.notifications'
|
||||
@shown = false
|
||||
@el.hide()
|
||||
|
||||
|
|
Loading…
Reference in a new issue