From e9cced72fd7b7924d8b2d2a6b4be9247aa567680 Mon Sep 17 00:00:00 2001 From: fat Date: Sat, 8 Mar 2014 19:20:47 -0800 Subject: fix #9342 --- js/affix.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js') diff --git a/js/affix.js b/js/affix.js index 05c909e16..84953c5cd 100644 --- a/js/affix.js +++ b/js/affix.js @@ -66,7 +66,7 @@ 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') -- cgit v1.2.3