aboutsummaryrefslogtreecommitdiff
path: root/js/affix.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2014-05-29 07:35:22 +0300
committerXhmikosR <[email protected]>2014-06-06 01:23:07 +0300
commite2cabe4971927e3dbbbda4c81ae8f74abdee2d15 (patch)
tree086e0a8dc55a0aec974cbb38347360b5828965a8 /js/affix.js
parent82fc03f3b6caccd134827a83c346456b920f4ba8 (diff)
downloadbootstrap-e2cabe4971927e3dbbbda4c81ae8f74abdee2d15.tar.xz
bootstrap-e2cabe4971927e3dbbbda4c81ae8f74abdee2d15.zip
Minor style tweaks.
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
+ })
}
}