diff options
| author | Matt Dufresne <[email protected]> | 2021-06-15 08:43:24 -0400 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2021-06-15 10:50:20 -0700 |
| commit | 9485172017868952047da5f188bc13a92ef0435d (patch) | |
| tree | b19c26757a8853e83b9e73a6c09128ae593092be | |
| parent | 2b2183a96ed7380b3ddb166be54dc25ae362ea9c (diff) | |
| download | bootstrap-9485172017868952047da5f188bc13a92ef0435d.tar.xz bootstrap-9485172017868952047da5f188bc13a92ef0435d.zip | |
fix error in javascript example under Asynchronous functions and transitions section
| -rw-r--r-- | site/content/docs/5.0/getting-started/javascript.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.0/getting-started/javascript.md b/site/content/docs/5.0/getting-started/javascript.md index f57a3aedf..8ee428921 100644 --- a/site/content/docs/5.0/getting-started/javascript.md +++ b/site/content/docs/5.0/getting-started/javascript.md @@ -109,7 +109,7 @@ All programmatic API methods are **asynchronous** and return to the caller once In order to execute an action once the transition is complete, you can listen to the corresponding event. ```js -var myCollapseEl = document.getElementById('#myCollapse') +var myCollapseEl = document.getElementById('myCollapse') myCollapseEl.addEventListener('shown.bs.collapse', function (event) { // Action to execute once the collapsible area is expanded |
