Temporary trick to add a spacer, feel free to improve...

This commit is contained in:
Marc Delisle
2011-02-19 17:47:05 -05:00
parent 8b76f42be2
commit bcc3ed17a2

View File

@@ -203,6 +203,10 @@ $(document).ready(function() {
$link.siblings().slideToggle("fast");
if ($link.text() == PMA_messages['strHideQueryBox']) {
$link.text(PMA_messages['strShowQueryBox']);
// cheap trick to add a spacer between the menu tabs
// and "Show query box"; feel free to improve!
$('#togglequerybox_spacer').remove();
$link.before('<br id="togglequerybox_spacer" />');
} else {
$link.text(PMA_messages['strHideQueryBox']);
}