diff options
author | Chris Rebert <github@rebertia.com> | 2014-02-12 23:07:04 +0400 |
---|---|---|
committer | Chris Rebert <github@rebertia.com> | 2014-02-12 23:07:04 +0400 |
commit | dff122f7f0733f653d6845f7338b55388cd982f9 (patch) | |
tree | d35c1ba7238de49a98a0d4e50fa0c0e99437a12f /docs/javascript.html | |
parent | 40142bdc5197b69f26e4d8ea3e30cd4fcf0d7cdb (diff) |
avoid using .bs-* in example, & improve style
Diffstat (limited to 'docs/javascript.html')
-rw-r--r-- | docs/javascript.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 () { <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)) } } }) |