   recentlyReadTimer: null
 
   selectedFeed: null
+
+  dragOwner: null
 
 $.extend feedbin,
   init:

      helper: 'clone'
      appendTo: '[data-behavior~=feeds_target]'
      scrollSpeed: 40

  droppable: ->
    $('[data-behavior~=droppable]:not(.ui-droppable)').droppable

          'selected'
      greedy: true
      drop: (event, ui) ->
        if !feedbin.dragOwner.get(0).isEqualNode(event.target)

          feedId = parseInt(ui.draggable.data('feed-id'))
          url = ui.draggable.data('feed-path')
          target = $(event.target)
          tag = $("> a", event.target).find(".rename-feed-input").val()

          if tag?
            tagId = $(event.target).data('tag-id')
          else
            tag = ""
            tagId = null

          feedbin.Counts.get().updateTagMap(feedId, tagId)
          feedbin.tagFeed(url, tag)
          feedbin.appendTag(target, ui)
          feedbin.hideEmptyTags()
          feedbin.applyCounts(false)
          feedbin.dragOwner = null
          setTimeout ( ->
            feedbin.draggable()
          ), 20


  entries: {}

