From d1df328cd3154997ec1b56f9878382c85be77c76 Mon Sep 17 00:00:00 2001 From: Vidar Hokstad Date: Fri, 5 Jun 2009 12:23:24 +0000 Subject: [PATCH] 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 --- editor/svgcanvas.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/svgcanvas.js b/editor/svgcanvas.js index f692488c..11c55210 100644 --- a/editor/svgcanvas.js +++ b/editor/svgcanvas.js @@ -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)