     $(window).unbind('resize', resize_notification_list)
 
 hide_notification_list = ->
+    notification_indicator.parent().removeClass('active')
     notification_list.hide()
     unbind_handlers()
     unmount(notification_list[0])

exports.add_unset_key_handler = (f) -> key_handlers.push(f)

show_notification_list = ->
    render_file_use(redux, notification_list[0])
    setTimeout((()=>redux.getActions('file_use').mark_all('seen')), MARK_SEEN_TIME_S*1000)
    notification_list.show()

    notification_list.find("input").focus()
    setTimeout(resize_notification_list, 1)

notification_indicator.click () ->
    if notification_list_is_hidden
        show_notification_list()
    else
        hide_notification_list()
    notification_list_is_hidden = not notification_list_is_hidden
    return false

require('./browser').set_notify_count_function(-> _global_notify_count)
