aboutsummaryrefslogtreecommitdiff
path: root/dist/js/bootstrap.js
diff options
context:
space:
mode:
authorfat <[email protected]>2014-03-08 19:20:47 -0800
committerfat <[email protected]>2014-03-08 19:20:47 -0800
commite9cced72fd7b7924d8b2d2a6b4be9247aa567680 (patch)
tree66e51552c26f8c1fa6313d422ee3788a5f1642db /dist/js/bootstrap.js
parent4b6e1b6754b8732fd71497997a43a5f92f0c8bcf (diff)
downloadbootstrap-e9cced72fd7b7924d8b2d2a6b4be9247aa567680.tar.xz
bootstrap-e9cced72fd7b7924d8b2d2a6b4be9247aa567680.zip
fix #9342
Diffstat (limited to 'dist/js/bootstrap.js')
-rw-r--r--dist/js/bootstrap.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/js/bootstrap.js b/dist/js/bootstrap.js
index 8bb8198c4..4e206818a 100644
--- a/dist/js/bootstrap.js
+++ b/dist/js/bootstrap.js
@@ -1880,7 +1880,7 @@ if (typeof jQuery === 'undefined') { throw new Error('Bootstrap\'s JavaScript re
offsetTop != null && (scrollTop <= offsetTop) ? 'top' : false
if (this.affixed === affix) return
- if (this.unpin) this.$element.css('top', '')
+ if (this.unpin != null) this.$element.css('top', '')
var affixType = 'affix' + (affix ? '-' + affix : '')
var e = $.Event(affixType + '.bs.affix')