diff options
| author | Chris Rebert <[email protected]> | 2014-02-12 11:07:04 -0800 |
|---|---|---|
| committer | Chris Rebert <[email protected]> | 2014-02-12 11:07:04 -0800 |
| commit | dff122f7f0733f653d6845f7338b55388cd982f9 (patch) | |
| tree | d35c1ba7238de49a98a0d4e50fa0c0e99437a12f | |
| parent | 40142bdc5197b69f26e4d8ea3e30cd4fcf0d7cdb (diff) | |
| download | bootstrap-dff122f7f0733f653d6845f7338b55388cd982f9.tar.xz bootstrap-dff122f7f0733f653d6845f7338b55388cd982f9.zip | |
avoid using .bs-* in example, & improve style
| -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 16cd66e65..ddb233fd5 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)) } } }) |
