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-75d572ba1ddd
This commit is contained in:
@@ -3,7 +3,7 @@ var svgcanvas = null;
|
||||
function svgCanvasInit(event) {
|
||||
svgcanvas = new SvgCanvas(event.target.ownerDocument);
|
||||
svgcanvas.setup(event);
|
||||
top.SvgCanvas = svgcanvas;
|
||||
parent.SvgCanvas = svgcanvas;
|
||||
}
|
||||
|
||||
function SvgCanvas(doc)
|
||||
|
||||
Reference in New Issue
Block a user