     if method
       verify = @[container].attr 'class'
 
-      @[container].bind 'click', (event) =>
+      @[container].on 'click', (event) =>
         @[method]() if $(event.target).hasClass verify
 
       if @options.actions[container] is 'close'
-        @[container].bind 'mouseenter mouseleave', =>
+        @[container].on 'mouseenter mouseleave', =>
           @overlay.find('.choco-close').toggleClass 'hover'
     @
 

          'height':     image.height()
          'margin-top': '-' + image.height() + 'px'

        image.bind 'hover', (event) -> popover.toggleClass 'hover'
        popover.bind 'click', (event) -> showFirstImage event, cid

  ###
   Private method

                         .replace('{{thumbnail}}', image.thumbnail)
                         .replace('{{title}}', if image.title then ' title="' + image.title + '"' else '')

    @thumbnails.html(content).find('.choco-thumbnail').on 'click', ->
      _this.open toInt $(@).attr('data-cid')

    @overlay.find('.choco-thumbnails-toggle').on 'click', ->
      current = _this.images[_this.current]
      status  = _this.thumbnails.hasClass 'hide'
      method  = if status then 'removeClass' else 'addClass'
