diff --git a/js/db_structure.js b/js/db_structure.js index 3d17b3dc36..2d70b0b32f 100644 --- a/js/db_structure.js +++ b/js/db_structure.js @@ -221,10 +221,10 @@ AJAX.registerOnload('db_structure.js', function () { var tr = $(this); var a = tr.find('a')[0]; if (a) { - if (a.text.trim().toUpperCase().indexOf(filter) > -1) { - tr[0].style.display = ""; + if (a.text.trim().toUpperCase().indexOf(filter) > -1) { + tr[0].style.display = ""; } else { - tr[0].style.display = "none"; + tr[0].style.display = "none"; } } });