]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update javascript.md
authorXhmikosR <xhmikosr@gmail.com>
Thu, 1 Aug 2019 06:37:18 +0000 (09:37 +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 48d12d5dd8ae3285977f01e8719a0cc12794d87e..36dcd76b71b5b634fed1e73096caef40ffe0ba31 100644 (file)
@@ -67,8 +67,7 @@ myModal.addEventListener('show.bs.modal', function (e) {
 {{< callout warning >}}
 ## jQuery events
 
-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`).
+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 () {