diff options
Diffstat (limited to 'docs')
| -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)) } } }) |
