From: XhmikosR Date: Sun, 4 Aug 2019 10:30:29 +0000 (+0300) Subject: Update javascript.md X-Git-Tag: v5.0.0-alpha1~870 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2b79d97e71ed4e2a33671d561e1214d09a8a4db;p=thirdparty%2Fbootstrap.git Update javascript.md --- diff --git a/site/content/docs/4.3/getting-started/javascript.md b/site/content/docs/4.3/getting-started/javascript.md index a6fd3d92df..bde5fff755 100644 --- a/site/content/docs/4.3/getting-started/javascript.md +++ b/site/content/docs/4.3/getting-started/javascript.md @@ -37,9 +37,9 @@ Some plugins and CSS components depend on other plugins. If you include plugins Our dropdowns, popovers and tooltips also depend on [Popper.js](https://popper.js.org/). -## Still wanting to use jQuery? It's possible! +## Still want to use jQuery? It's possible! -Bootstrap 5 is designed to be used without jQuery, but it's still possible to use our components with jQuery. **If Bootstrap detect `jQuery` in the window object** it'll add all of our components in jQuery's plugin system, it means you'll be able to do: `$('[data-toggle="tooltip"]').tooltip()` to enable tooltips and the same goes for our other components. +Bootstrap 5 is designed to be used without jQuery, but it's still possible to use our components with jQuery. **If Bootstrap detects `jQuery` in the `window` object** it'll add all of our components in jQuery's plugin system; this means you'll be able to do `$('[data-toggle="tooltip"]').tooltip()` to enable tooltips. The same goes for our other components. ## Data attributes