diff options
author | Matt Dufresne <matt@pvep.com> | 2021-06-15 15:43:24 +0300 |
---|---|---|
committer | Mark Otto <otto@github.com> | 2021-06-15 20:50:20 +0300 |
commit | 9485172017868952047da5f188bc13a92ef0435d (patch) | |
tree | b19c26757a8853e83b9e73a6c09128ae593092be /site/content/docs | |
parent | 2b2183a96ed7380b3ddb166be54dc25ae362ea9c (diff) |
fix error in javascript example under Asynchronous functions and transitions section
Diffstat (limited to 'site/content/docs')
-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 f57a3aedf6..8ee4289211 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 |