From: XhmikosR Date: Thu, 1 Aug 2019 04:59:25 +0000 (+0300) Subject: Update javascript.md X-Git-Tag: v5.0.0-alpha1~883 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09c3a8f893aae09c0d412c9eff5f77185d81baa1;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 580e1f2554..48d12d5dd8 100644 --- a/site/content/docs/4.3/getting-started/javascript.md +++ b/site/content/docs/4.3/getting-started/javascript.md @@ -67,8 +67,8 @@ myModal.addEventListener('show.bs.modal', function (e) { {{< callout warning >}} ## jQuery events -Bootstrap detect jQuery only if `jQuery` is present in `window` object. If jQuery is found, Bootstrap will emit events thanks to jQuery event system. -So if you want to listen Bootstrap's events you'll have to use jQuery methods (`.on`, `.one`). +Bootstrap will detect jQuery only if `jQuery` is present in the `window` object. If jQuery is found, Bootstrap will emit events thanks to jQuery's event system. +So if you want to listen to Bootstrap's events, you'll have to use the jQuery methods (`.on`, `.one`). {{< highlight js >}} $('#myTab a').on('shown.bs.tab', function () {