mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-17 19:21:23 +03:00
add show/shown hide/hidden events to dropdown + update dropdown links for testing + catch a few missed namespace things
This commit is contained in:
+1
-1
@@ -29,7 +29,7 @@
|
||||
var $element = $(element).is('body') ? $(window) : $(element)
|
||||
|
||||
this.$body = $('body')
|
||||
this.$scrollElement = $element.on('scroll.scroll-spy.data-api', process)
|
||||
this.$scrollElement = $element.on('scroll.bs.scroll-spy.data-api', process)
|
||||
this.options = $.extend({}, ScrollSpy.DEFAULTS, options)
|
||||
this.selector = (this.options.target
|
||||
|| ((href = $(element).attr('href')) && href.replace(/.*(?=#[^\s]+$)/, '')) //strip for ie7
|
||||
|
||||
Reference in New Issue
Block a user