StalderT 2016-01-16 19:42:15 +01:00
parent 971aa98ac1
commit ae533338a1
1 changed files with 7 additions and 5 deletions

View File

@ -554,6 +554,7 @@ var getIntersectionList = this.getIntersectionList = function(rect) {
}
var resultList = null;
if (!svgedit.browser.isIE) {
if (typeof(svgroot.getIntersectionList) == 'function') {
// Offset the bbox of the rubber box by the offset of the svgcontent element.
rubberBBox.x += parseInt(svgcontent.getAttribute('x'), 10);
@ -561,6 +562,7 @@ var getIntersectionList = this.getIntersectionList = function(rect) {
resultList = svgroot.getIntersectionList(rubberBBox, parent);
}
}
if (resultList == null || typeof(resultList.item) != 'function') {
resultList = [];