Created by: mhansen
Twipsy was only checking for offsetHeight and offsetWidth to center the popover. However, SVG elements don't have an offsetHeight or an offsetWidth. Use getBBox() for their height and width instead.
Created by: mhansen
Twipsy was only checking for offsetHeight and offsetWidth to center the popover. However, SVG elements don't have an offsetHeight or an offsetWidth. Use getBBox() for their height and width instead.