]> source.dussan.org Git - svg.js.git/commit
Changed document.contains to document.body.contains
authorsnydesc <scottsnyder@snysco.com>
Tue, 24 May 2016 21:52:44 +0000 (17:52 -0400)
committersnydesc <scottsnyder@snysco.com>
Tue, 24 May 2016 21:52:44 +0000 (17:52 -0400)
commit38513f09aed2578843aee1d975416fdddfd5f2e8
tree17d6c56f73b45ffeacb55c89ee4ad0dd6622a427
parent430f6c2931b75a5ebb2ea651b26730805cd3a7e4
Changed document.contains to document.body.contains

 The document object in IE does not have the contains function  as a method.  This can cause a stack overflow as you can get stuck in an endless try catch loop.   document.body.contains will work in IE, Firefox, and Chrome and will resolve this issue.
src/boxes.js