Changed top.SvgCanvas to parent.SvgCanvas. Using top causes problems with having more than one canvas per browser window/tab
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@33 eee81c28-f429-11dd-99c0-75d572ba1dddmaster
parent
6799707fc7
commit
d1df328cd3
|
@ -3,7 +3,7 @@ var svgcanvas = null;
|
||||||
function svgCanvasInit(event) {
|
function svgCanvasInit(event) {
|
||||||
svgcanvas = new SvgCanvas(event.target.ownerDocument);
|
svgcanvas = new SvgCanvas(event.target.ownerDocument);
|
||||||
svgcanvas.setup(event);
|
svgcanvas.setup(event);
|
||||||
top.SvgCanvas = svgcanvas;
|
parent.SvgCanvas = svgcanvas;
|
||||||
}
|
}
|
||||||
|
|
||||||
function SvgCanvas(doc)
|
function SvgCanvas(doc)
|
||||||
|
|
Loading…
Reference in New Issue