Better fix for Safari

This commit is contained in:
Dmitry Baranovskiy 2008-12-24 13:03:02 +11:00
parent 77636f0654
commit 65ea864c1e
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -1071,6 +1071,7 @@ var Raphael = (function (type) {
ig.setAttribute("width", this.offsetWidth);
ig.setAttribute("height", this.offsetHeight);
document.body.removeChild(this);
C.safari();
};
document.body.appendChild(img);
img.src = isURL[1];
@ -1079,7 +1080,6 @@ var Raphael = (function (type) {
o[0].setAttribute("fill", "url(#" + el.id + ")");
o.pattern = el;
updatePosition(o);
C.safari();
break;
}
default :