fix update dialog buttons (firefox)

This commit is contained in:
rlx 2016-01-24 18:15:30 +05:30
parent fecf1ab987
commit 258218f6dd

View file

@ -87,7 +87,7 @@ oml.ui.updateDialog = function() {
} else { } else {
that.options({content: $error}); that.options({content: $error});
$updateButton.hide(); $updateButton.hide();
$closeButton.show(); $closeButton.css({display: 'inline'});
that.enableCloseButton(); that.enableCloseButton();
that.enableButtons(); that.enableButtons();
} }
@ -136,8 +136,8 @@ oml.ui.updateDialog = function() {
[result.data.version.split('-')[1]] [result.data.version.split('-')[1]]
)); ));
$closeButton.hide(); $closeButton.hide();
$dontUpdateButton.show(); $dontUpdateButton.css({display: 'inline'});
$updateButton.show(); $updateButton.css({display: 'inline'});
} }
}); });
} else { } else {