aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/4.3/getting-started/javascript.md
diff options
context:
space:
mode:
Diffstat (limited to 'site/content/docs/4.3/getting-started/javascript.md')
-rw-r--r--site/content/docs/4.3/getting-started/javascript.md3
1 files changed, 1 insertions, 2 deletions
diff --git a/site/content/docs/4.3/getting-started/javascript.md b/site/content/docs/4.3/getting-started/javascript.md
index 48d12d5dd..36dcd76b7 100644
--- a/site/content/docs/4.3/getting-started/javascript.md
+++ b/site/content/docs/4.3/getting-started/javascript.md
@@ -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 () {