Skip to content

Commit 9485172

Browse files
mattdufresne2mdo
authored andcommitted
fix error in javascript example under Asynchronous functions and transitions section
1 parent 2b2183a commit 9485172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/content/docs/5.0/getting-started/javascript.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ All programmatic API methods are **asynchronous** and return to the caller once
109109
In order to execute an action once the transition is complete, you can listen to the corresponding event.
110110

111111
```js
112-
var myCollapseEl = document.getElementById('#myCollapse')
112+
var myCollapseEl = document.getElementById('myCollapse')
113113

114114
myCollapseEl.addEventListener('shown.bs.collapse', function (event) {
115115
// Action to execute once the collapsible area is expanded

0 commit comments

Comments
 (0)