2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-05-15 11:59:39 +03:00

avoid using .bs-* in example, & improve style

This commit is contained in:
Chris Rebert
2014-02-12 11:07:04 -08:00
parent 40142bdc51
commit dff122f7f0
+2 -2
View File
@@ -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))
}
}
})