aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs/4.3/getting-started/javascript.md
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-08-01 09:37:18 +0300
committerJohann-S <[email protected]>2019-08-01 10:37:27 +0200
commit96ed9f7bf0edb9eecc49645891351a3240b229f6 (patch)
tree2d87a4bffd1ee1000b09fb6e8a301137454ab8ad /site/content/docs/4.3/getting-started/javascript.md
parent09c3a8f893aae09c0d412c9eff5f77185d81baa1 (diff)
downloadbootstrap-96ed9f7bf0edb9eecc49645891351a3240b229f6.tar.xz
bootstrap-96ed9f7bf0edb9eecc49645891351a3240b229f6.zip
Update javascript.md
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 () {