 
     $('.submenu li.show-more').toggle(elements.length > 0)
 
-
-
   loader: ->
     Loader
 

        event.preventDefault()
      .ajaxComplete(_init_each_datepicker)

    $.datepicker.setDefaults($.datepicker.regional['pl']);
    $.datepicker.setDefaults(dateFormat: 'dd/mm/yy');
    _init_each_datepicker()


    $(document).on 'append-next-page', (event, content) =>
      element = $(event.target)
      element.find('.show-more').replaceWith $(content)
      element.foundation()
      @set_main_content_height()


