diff options
| author | XhmikosR <[email protected]> | 2019-08-01 09:37:18 +0300 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2019-08-01 10:37:27 +0200 |
| commit | 96ed9f7bf0edb9eecc49645891351a3240b229f6 (patch) | |
| tree | 2d87a4bffd1ee1000b09fb6e8a301137454ab8ad /site/content/docs/4.3/getting-started/javascript.md | |
| parent | 09c3a8f893aae09c0d412c9eff5f77185d81baa1 (diff) | |
| download | bootstrap-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.md | 3 |
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 () { |
