]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update javascript.md
authorXhmikosR <xhmikosr@gmail.com>
Thu, 1 Aug 2019 04:59:25 +0000 (07:59 +0300)
committerJohann-S <johann.servoire@gmail.com>
Thu, 1 Aug 2019 08:37:27 +0000 (10:37 +0200)
site/content/docs/4.3/getting-started/javascript.md

index 580e1f25542ff5b0ef13a3396c0c52f902e8a650..48d12d5dd8ae3285977f01e8719a0cc12794d87e 100644 (file)
@@ -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 () {