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
master
Vidar Hokstad 2009-06-05 12:23:24 +00:00
parent 6799707fc7
commit d1df328cd3
1 changed files with 1 additions and 1 deletions

View File

@ -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)