Skip to content

Commit

Permalink
Fix id in example code
Browse files Browse the repository at this point in the history
  • Loading branch information
jsor committed Aug 21, 2018
1 parent 821ed99 commit 77da88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ ctrly({

// or

document.getElementById('my-closed').addEventListener('ctrly:closed', e => {
document.getElementById('my-target').addEventListener('ctrly:closed', e => {
const target = e.target;

target.classList.remove('is-closing');
Expand Down

0 comments on commit 77da88d

Please sign in to comment.