Skip to content

Commit

Permalink
Merge pull request #19 from davidmerrique/master
Browse files Browse the repository at this point in the history
Fix a typo that causes an error in Safari 9
  • Loading branch information
javan authored Feb 28, 2019
2 parents dcd6264 + 8ebdf4e commit 8188bb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ function polyfillToggleEvent() {
forEach.call(mutations, mutation => {
const { target, attributeName } = mutation
if (target.tagName == "DETAILS" && attributeName == "open") {
triggerToggle(toggle)
triggerToggle(target)
}
})
}).observe(document.documentElement, {
Expand Down

0 comments on commit 8188bb3

Please sign in to comment.