From 55facf1f2ed9606f17504ac92a4c3b17a9c5e20b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 21 Aug 2012 12:58:48 -0700 Subject: fixes #4473: docs example typo for js affix plugin --- docs/javascript.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index f6c8c428b..3480f2b78 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1606,7 +1606,7 @@ $('.carousel').carousel({

Via data attributes

To easily add affix behavior to any element, just add data-spy="affix" to the element you want to spy on. Then use offsets to define when to toggle the pinning of an element on and off.

-
<div data-spy="affix" data-offset-top="200">...</body>
+
<div data-spy="affix" data-offset-top="200">...</div>
Heads up! -- cgit v1.2.3