From: Chris Rebert Date: Wed, 12 Feb 2014 19:07:04 +0000 (-0800) Subject: avoid using .bs-* in example, & improve style X-Git-Tag: v3.1.1~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dff122f7f0733f653d6845f7338b55388cd982f9;p=thirdparty%2Fbootstrap.git avoid using .bs-* in example, & improve style --- diff --git a/docs/javascript.html b/docs/javascript.html index 16cd66e65a..ddb233fd5f 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -2073,11 +2073,11 @@ $('#myCarousel').on('slide.bs.carousel', function () {

Via JavaScript

Call the affix plugin via JavaScript:

{% 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)) } } })