/*
 * (c) 2016 .hausformat
 */

;(function () {

    'use strict'
    
    // import jquery
    var $ = jQuery

    $(document).ready(function () {

        $('.js-sticky').each(function () {
            var $this = $(this)
            var offsetTop = parseFloat($this.data('sticky-offset-top'))

            hf.stickyElement($this, offsetTop)
        })

    })

})();