     @fact_load_promotion = new FactLoadPromotion(@elements)
 
   isInView: ->
-    all = true
-    $(@elements).each ->
-      all = all & ($(this).data('inview') == 'both')
-    all
+    for element in $(@elements)
+      return false unless $(element).data('inview') == 'both'
+    true
 
   openFactlinkModal: (options={})=>
     Factlink.showInfo @id, => options.success?()

          @timeout_handler = setTimeout =>
            @switchToState 'visible'
          , highlight_time_on_in_view
        , 200
      # else: we are in a visible state, and
      # the fact is visible, no need to change state
    else

delay_between_highlight_and_show_button_open = 325

delay_before_mouseout_detected = 300
delay_before_scroll_into_screen_detected = 200

class Highlighter
  constructor: (@$elements, @class) ->
