Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <github@rebertia.com>2014-02-12 23:07:04 +0400
committerChris Rebert <github@rebertia.com>2014-02-12 23:07:04 +0400
commitdff122f7f0733f653d6845f7338b55388cd982f9 (patch)
treed35c1ba7238de49a98a0d4e50fa0c0e99437a12f /docs/javascript.html
parent40142bdc5197b69f26e4d8ea3e30cd4fcf0d7cdb (diff)
avoid using .bs-* in example, & improve style
Diffstat (limited to 'docs/javascript.html')
-rw-r--r--docs/javascript.html4
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))
}
}
})