mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
no need to create $.Event
`trigger()` can handle string argument
This commit is contained in:
parent
48b822db40
commit
4b08832308
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@
|
|||
this.$element
|
||||
.removeClass(Affix.RESET)
|
||||
.addClass(affixType)
|
||||
.trigger($.Event(affixType.replace('affix', 'affixed') + '.bs.affix'))
|
||||
.trigger(affixType.replace('affix', 'affixed') + '.bs.affix')
|
||||
|
||||
if (affix == 'bottom') {
|
||||
this.$element.offset({
|
||||
|
|
Loading…
Reference in a new issue