diff --git a/js/export.js b/js/export.js index 82e3ed6542..22abbaaa11 100644 --- a/js/export.js +++ b/js/export.js @@ -204,7 +204,7 @@ AJAX.registerOnload('export.js', function () { */ function toggle_quick_or_custom() { - if ($("input[name='quick_or_custom']").length == 0 // custom_no_form option + if ($("input[name='quick_or_custom']").length === 0 // custom_no_form option || $("#radio_custom_export").prop("checked") // custom ) { $("#databases_and_tables").show(); diff --git a/js/server_variables.js b/js/server_variables.js index cb8f8555bc..52935f149b 100644 --- a/js/server_variables.js +++ b/js/server_variables.js @@ -24,7 +24,8 @@ AJAX.registerOnload('server_variables.js', function () { if ($elm.hasClass('editable') && ! $elm.hasClass('edit')) { $elm.prepend($editLink.clone().show()); } - }) + }); + $('#serverVariables').delegate('.var-row', 'mouseleave', function (event) { $(this).find('a.editLink').remove(); })