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 'click.notifications', @hide
|
||||||
$(window).on 'keydown.notifications', @listNavigate
|
|
||||||
|
|
||||||
@updateContent()
|
@updateContent()
|
||||||
|
|
||||||
|
@ -207,11 +206,13 @@ class App.OnlineNotificationWidget extends App.Controller
|
||||||
@show()
|
@show()
|
||||||
|
|
||||||
show: =>
|
show: =>
|
||||||
|
$(window).on 'keydown.notifications', @listNavigate
|
||||||
@shown = true
|
@shown = true
|
||||||
@el.show()
|
@el.show()
|
||||||
@updateHeight()
|
@updateHeight()
|
||||||
|
|
||||||
hide: =>
|
hide: =>
|
||||||
|
$(window).off 'keydown.notifications'
|
||||||
@shown = false
|
@shown = false
|
||||||
@el.hide()
|
@el.hide()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue