         $el = $ $el[0]
         attr = $el.ptAttr()
 
-        log $el.data()
-
-        if not $el.data('ptPopoverLoaded') and $el.data('ptPopoverFocused')
-          $el.data 'ptPopoverLoaded', true
+        if not $el.data('ptPopoverLoading') and $el.data('ptPopoverFocused')
+          $el.data 'ptPopoverLoading', true
           url = attr.popover
 
           #if not a url assume it's content

                  trigger: 'manual'
                  container: attr.popoverContainer or 'body'
                  placement: attr.popoverPlacement or 'right'
                $el.removeData 'ptPopoverLoaded'
                $el.popover 'show' if $el.data 'ptPopoverFocused'
        else if $el.data('ptPopoverFocused')
          if not attr.popoverContainer
            $el.popover 'show'
          else
            $el.closest(attr.popoverContainer).find('.popover').popover 'show'
      , 500)



    callback: ->
      $el = $ this
      attr = $el.ptAttr()
      $el.removeData 'ptPopoverFocused'
      if $el.data 'ptPopoverLoaded'
        $el.popover 'hide'
      # if not attr.popoverContainer
      #   $('body').find('.popover').popover 'hide'
      # else
      #   $el.closest(attr.popoverContainer).popover 'hide'
