diff options
| author | XhmikosR <[email protected]> | 2019-08-02 17:24:07 +0300 |
|---|---|---|
| committer | Johann-S <[email protected]> | 2019-08-02 16:50:05 +0200 |
| commit | a0f3fd2342ecc02407279357c70c3e37af4e4ac6 (patch) | |
| tree | fa536269c80fab7f5b063ea6b05d49d49fb32efe /site/content/docs/4.3/getting-started/javascript.md | |
| parent | 8b2b490f9b58a02494fe8567d6ce5b9c11a9bf65 (diff) | |
| download | bootstrap-a0f3fd2342ecc02407279357c70c3e37af4e4ac6.tar.xz bootstrap-a0f3fd2342ecc02407279357c70c3e37af4e4ac6.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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/4.3/getting-started/javascript.md b/site/content/docs/4.3/getting-started/javascript.md index bb7dab105..4e3e793db 100644 --- a/site/content/docs/4.3/getting-started/javascript.md +++ b/site/content/docs/4.3/getting-started/javascript.md @@ -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 () { |
