mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-25 16:50:23 +00:00
avoid using .bs-* in example, & improve style
This commit is contained in:
parent
40142bdc51
commit
dff122f7f0
1 changed files with 2 additions and 2 deletions
|
|
@ -2073,11 +2073,11 @@ $('#myCarousel').on('slide.bs.carousel', function () {
|
|||
<h3>Via JavaScript</h3>
|
||||
<p>Call the affix plugin via JavaScript:</p>
|
||||
{% highlight js %}
|
||||
$('#myAffix').affix({
|
||||
$('#my-affix').affix({
|
||||
offset: {
|
||||
top: 100
|
||||
, bottom: function () {
|
||||
return (this.bottom = $('.bs-footer').outerHeight(true))
|
||||
return (this.bottom = $('.footer').outerHeight(true))
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue