]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update javascript.md
authorXhmikosR <xhmikosr@gmail.com>
Fri, 2 Aug 2019 14:24:07 +0000 (17:24 +0300)
committerJohann-S <johann.servoire@gmail.com>
Fri, 2 Aug 2019 14:50:05 +0000 (16:50 +0200)
site/content/docs/4.3/getting-started/javascript.md

index bb7dab105a8473db33aeac84b3b5130af565585a..4e3e793dbf7f173b396413ae43d8b4ceb48a6f57 100644 (file)
@@ -67,7 +67,7 @@ myModal.addEventListener('show.bs.modal', function (e) {
 {{< callout warning >}}
 ## jQuery events
 
-Bootstrap will detect jQuery if `jQuery` is present in the `window` object and no `data-no-jquery` attribute on `<body>`. 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`) instead of `addEventListener`.
+Bootstrap will detect jQuery if `jQuery` is present in the `window` object and there is no `data-no-jquery` attribute set on `<body>`. 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`) instead of `addEventListener`.
 
 {{< highlight js >}}
 $('#myTab a').on('shown.bs.tab', function () {