Better fix for Safari
This commit is contained in:
parent
77636f0654
commit
65ea864c1e
File diff suppressed because one or more lines are too long
|
|
@ -1071,6 +1071,7 @@ var Raphael = (function (type) {
|
||||||
ig.setAttribute("width", this.offsetWidth);
|
ig.setAttribute("width", this.offsetWidth);
|
||||||
ig.setAttribute("height", this.offsetHeight);
|
ig.setAttribute("height", this.offsetHeight);
|
||||||
document.body.removeChild(this);
|
document.body.removeChild(this);
|
||||||
|
C.safari();
|
||||||
};
|
};
|
||||||
document.body.appendChild(img);
|
document.body.appendChild(img);
|
||||||
img.src = isURL[1];
|
img.src = isURL[1];
|
||||||
|
|
@ -1079,7 +1080,6 @@ var Raphael = (function (type) {
|
||||||
o[0].setAttribute("fill", "url(#" + el.id + ")");
|
o[0].setAttribute("fill", "url(#" + el.id + ")");
|
||||||
o.pattern = el;
|
o.pattern = el;
|
||||||
updatePosition(o);
|
updatePosition(o);
|
||||||
C.safari();
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default :
|
default :
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue