From 8e5b549cf3d39d884d48fde1d919e65b86bf9cfe Mon Sep 17 00:00:00 2001 From: Alexis Deveria Date: Wed, 13 Jan 2010 21:18:59 +0000 Subject: [PATCH] Fixed bug on Firefox open file git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1214 eee81c28-f429-11dd-99c0-75d572ba1ddd --- editor/svg-editor.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/editor/svg-editor.js b/editor/svg-editor.js index c3fbf57b..3d463082 100644 --- a/editor/svg-editor.js +++ b/editor/svg-editor.js @@ -750,7 +750,7 @@ function svg_edit_setup() { if (evt.target.localName != "input") { list.fadeOut(200); } else { - list.css('opacity',0).show(); + list.css('margin-left','-9999px').show(); } } on_button = false; @@ -759,8 +759,8 @@ function svg_edit_setup() { overlay.bind('mousedown',function() { if (!button.hasClass('down')) { button.addClass('down'); - // Opacity must be set to 1 in case it was set to 0 before; - list.css('opacity',1).show(); + // Margin must be reset in case it was changed before; + list.css('margin-left',0).show(); if(!height) { height = list.height(); }