From a6214273b9f9a7d4858e55ac2c5379f71ab71314 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sat, 19 Apr 2014 17:42:06 -0700 Subject: [PATCH] quote attribute value in selector in JS docs example --- docs/_includes/js/overview.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_includes/js/overview.html b/docs/_includes/js/overview.html index abc2a47e5a..2ef8fe8507 100644 --- a/docs/_includes/js/overview.html +++ b/docs/_includes/js/overview.html @@ -45,7 +45,7 @@ $('#myModal').modal({ keyboard: false }) // initialized with no keyboard $('#myModal').modal('show') // initializes and invokes show immediately {% endhighlight %} -

Each plugin also exposes its raw constructor on a Constructor property: $.fn.popover.Constructor. If you'd like to get a particular plugin instance, retrieve it directly from an element: $('[rel=popover]').data('popover').

+

Each plugin also exposes its raw constructor on a Constructor property: $.fn.popover.Constructor. If you'd like to get a particular plugin instance, retrieve it directly from an element: $('[rel="popover"]').data('popover').

No conflict

Sometimes it is necessary to use Bootstrap plugins with other UI frameworks. In these circumstances, namespace collisions can occasionally occur. If this happens, you may call .noConflict on the plugin you wish to revert the value of.