Commit 48b822db authored by Wing's avatar Wing Committed by Chris Rebert
Browse files

trigger 'affixed.bs.affix' instead of 'affixed'

Original is triggering `affixed` not `affixed.bs.affix`, only `.on('affixed.bs.affix', ...)` also catch `affixed` event.

Closes #13998.
parent 13426c18
Showing with 1 addition and 1 deletion
+1 -1
......@@ -83,7 +83,7 @@
this.$element
.removeClass(Affix.RESET)
.addClass(affixType)
.trigger($.Event(affixType.replace('affix', 'affixed')))
.trigger($.Event(affixType.replace('affix', 'affixed') + '.bs.affix'))
if (affix == 'bottom') {
this.$element.offset({
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment