mirror of https://github.com/twbs/bootstrap.git
				
				
				
			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.
			
			
This commit is contained in:
		
							parent
							
								
									13426c18a3
								
							
						
					
					
						commit
						48b822db40
					
				|  | @ -83,7 +83,7 @@ | ||||||
|     this.$element |     this.$element | ||||||
|       .removeClass(Affix.RESET) |       .removeClass(Affix.RESET) | ||||||
|       .addClass(affixType) |       .addClass(affixType) | ||||||
|       .trigger($.Event(affixType.replace('affix', 'affixed'))) |       .trigger($.Event(affixType.replace('affix', 'affixed') + '.bs.affix')) | ||||||
| 
 | 
 | ||||||
|     if (affix == 'bottom') { |     if (affix == 'bottom') { | ||||||
|       this.$element.offset({ |       this.$element.offset({ | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue