     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
 

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

drop =

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


        $scrollParent = scrollParent($target)

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

        $scrollParent.on 'scroll.drop', debounce(position)

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