Fixed bug on Firefox open file

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1214 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Alexis Deveria 2010-01-13 21:18:59 +00:00
parent ad38b50001
commit 8e5b549cf3
1 changed files with 3 additions and 3 deletions

View File

@ -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();
}