From bc9335650c0825ddf5805ebcdb513f71540d9c82 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 20 Jan 2014 18:39:13 -0800 Subject: fix #12007 by clarifying target of dropdown events --- docs/javascript.html | 1 + 1 file changed, 1 insertion(+) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index 7d41a0378..4b9933bf7 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -557,6 +557,7 @@ $('.dropdown-toggle').dropdown()

Toggles the dropdown menu of a given navbar or tabbed navigation.

Events

+

All dropdown events are fired at the .dropdown-menu's parent element.

-- cgit v1.2.3 From ebd132ce68b79a95daf6ef91225304e9656cd4a4 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Fri, 7 Feb 2014 01:10:21 -0800 Subject: Fixes #12611: Mention limitation of one plugin's data attributes per element --- docs/javascript.html | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index 8932ff295..24c1eb79d 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -15,8 +15,13 @@ lead: "Bring Bootstrap's components to life with over a dozen custom jQuery plug

Plugins can be included individually (using Bootstrap's individual *.js files), or all at once (using bootstrap.js or the minified bootstrap.min.js).

-

Do not attempt to include both.

-

Both bootstrap.js and bootstrap.min.js contain all plugins in a single file.

+

Using the compiled JavaScript

+

Both bootstrap.js and bootstrap.min.js contain all plugins in a single file. Include only one.

+
+ +
+

Component data attributes

+

Don't mix data attributes from separate plugins on the same component. For example, a button cannot have a tooltip and toggle a modal. To accomplish this, use a wrapping element.

-- cgit v1.2.3 From bdf9ce4c45b81e62ab7ebd88a9e3daa98ecdd10c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zlatan=20Vasovi=C4=87?= Date: Fri, 7 Feb 2014 19:31:08 +0100 Subject: Omit semicolons consistently in docs --- docs/javascript.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'docs/javascript.html') diff --git a/docs/javascript.html b/docs/javascript.html index 7cd9ede49..2d42da203 100644 --- a/docs/javascript.html +++ b/docs/javascript.html @@ -1444,10 +1444,10 @@ $('#my-alert').bind('closed.bs.alert', function () { @@ -1552,10 +1552,10 @@ $('.btn').button() -- cgit v1.2.3