It seems some browsers require objects passed to getInsectionList to

actually be of the correct type
This commit is contained in:
Magne Bratseth
2016-02-10 09:38:43 +01:00
parent 6715e62146
commit 88ef7b02cc

View File

@@ -549,7 +549,7 @@ var getIntersectionList = this.getIntersectionList = function(rect) {
var rubberBBox;
if (!rect) {
rubberBBox = rubberBox.getBBox();
var o, bb = {};
var o, bb = svgcontent.createSVGRect();
for (o in rubberBBox) {
bb[o] = rubberBBox[o] / current_zoom;