     updateBodyClasses: ->
         anyOpen = false
 
-        $.each drop.dropTargets, (i, $target) -> anyOpen = true if $target.drop 'isOpened'
+        $.each drop.dropTargets, (i, $target) ->
+            if $target.drop 'isOpened'
+                anyOpen = true
+                return false
 
         if anyOpen
             $('body').addClass(drop.baseClassNames.opened).removeClass(drop.baseClassNames.allClosed)
         else
             $('body').removeClass(drop.baseClassNames.opened).addClass(drop.baseClassNames.allClosed)
 
-
 jQueryMethods =
-
-    init: (opts) -> this.each ->
+    init: (opts) -> @each ->
         $target = $ @
         drop.dropTargets.push $target
 


        $scrollParent = scrollParent($target)

        scrollPending = false
        position = -> $target.drop 'positionDrop' if $target.drop 'isOpened'

        $scrollParent.on 'scroll.drop', ->
            return if scrollPending
            scrollPending = true

            if DEBOUNCE is 0
                scrollPending = false
                position()

            else
                setTimeout ->
                    scrollPending = false
                    position()
                , DEBOUNCE

        if options.trigger is 'click'
            $target.bind 'click.drop', -> $target.drop 'toggleDrop'

    $(window).on 'scroll.drop', debounce(-> drop.positionAll())

drop =
    baseClassNames:
        drop: 'drop'
        dropContent: 'drop-content'
