Skip to content
This repository has been archived by the owner on Apr 18, 2021. It is now read-only.

Commit

Permalink
Fix critical bug since first version
Browse files Browse the repository at this point in the history
Because I’m stupid
  • Loading branch information
mistermantas committed Jul 6, 2017
1 parent d21563b commit 5fde2be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippet.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
var elements = document.querySelectorAll('.discord-dialog__close-button, .discord-dialog')
for (var i = 0; i < elements.length; i++) {
elements[i].addEventListener("click", function() {
toggle('.discord-dialog')
document.querySelector('.discord-dialog').classList.toggle('active')
})
}
</script>
Expand Down

0 comments on commit 5fde2be

Please sign in to comment.