Skip to content

Commit

Permalink
fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
callmecavs committed Jan 28, 2017
1 parent 3fbf1f0 commit aa99982
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gotem.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const gotem = (trigger, target, cbs = {}) => {
// throw if no target node or no trigger node
if (target.nodeType !== Node.ELEMENT_NODE || target.nodeType !== Node.ELEMENT_NODE) {
if (target.nodeType !== window.Node.ELEMENT_NODE || target.nodeType !== window.Node.ELEMENT_NODE) {
throw new Error('gotem: trigger and target nodes are required.')
}

Expand Down

0 comments on commit aa99982

Please sign in to comment.