aboutsummaryrefslogtreecommitdiff
path: root/js/affix.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/affix.js')
-rw-r--r--js/affix.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/affix.js b/js/affix.js
index c7e1b797e..5af32fee6 100644
--- a/js/affix.js
+++ b/js/affix.js
@@ -86,7 +86,9 @@
.trigger($.Event(affixType.replace('affix', 'affixed')))
if (affix == 'bottom') {
- this.$element.offset({ top: scrollHeight - this.$element.height() - offsetBottom })
+ this.$element.offset({
+ top: scrollHeight - this.$element.height() - offsetBottom
+ })
}
}