 # WARNING: temporary jquery spaghetti below
 # For now hook in this way -- obviously this breaks isomorphic encapsulation, etc...
 $('body').append($('<div class="salvus-notification-list hide"></div>'))
-$(".salvus-notification-indicator").show()
+notification_indicator = $(".salvus-notification-indicator")
+notification_indicator.show()
 notification_list = $(".salvus-notification-list")
 notification_list_is_hidden = true
 notification_count = $(".salvus-notification-unseen-count")

    $(window).unbind('resize', resize_notification_list)

hide_notification_list = ->
    notification_list.hide()
    unbind_handlers()
    unmount(notification_list[0])

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

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