Skip to content
This repository has been archived by the owner on Mar 17, 2020. It is now read-only.

Commit

Permalink
Merge pull request #78 from chiester/master
Browse files Browse the repository at this point in the history
Stronger type checking
  • Loading branch information
Justin Palmer committed Sep 30, 2014
2 parents 460b1e6 + f5008e7 commit 9b28d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@

function getSVGNode(el) {
el = el.node()
if(el.tagName.toLowerCase() == 'svg')
if(el.tagName.toLowerCase() === 'svg')
return el

return el.ownerSVGElement
Expand Down

0 comments on commit 9b28d37

Please sign in to comment.