vendor/assets/javascripts/affix.js in active_frontend-2.0.9 vs vendor/assets/javascripts/affix.js in active_frontend-2.0.10

- old
+ new

@@ -67,10 +67,10 @@ var height = this.$element.height() var offset = this.options.offset var offsetTop = offset.top var offsetBottom = offset.bottom - var scrollHeight = Math.max($(document).height(), $(document.body).height()) + var scrollHeight = $(document.body).height() if (typeof offset != 'object') offsetBottom = offsetTop = offset if (typeof offsetTop == 'function') offsetTop = offset.top(this.$element) if (typeof offsetBottom == 'function') offsetBottom = offset.bottom(this.$element) \ No newline at end of file