react-image-magnifier
react-image-magnifier copied to clipboard
Add browser support for IE and Firefox
Hey! I pulled in a commit from @francisPlaymore to fix the Unexpected token (55:12)
when running and added browser support for Firefox and IE by using clientX/Y
instead of simply event.x
and event.y
and window.pageX/YOffset
when window.scrollX/Y
is unavailable.