diff --git a/js/affix.js b/js/affix.js index 7d404ebee5..26b09db568 100644 --- a/js/affix.js +++ b/js/affix.js @@ -83,7 +83,7 @@ this.$element .removeClass(Affix.RESET) .addClass(affixType) - .trigger($.Event(affixType.replace('affix', 'affixed'))) + .trigger(affixType.replace('affix', 'affixed') + '.bs.affix') if (affix == 'bottom') { this.$element.offset({