diff options
-rw-r--r-- | modules/gallery/views/admin_advanced_settings.html.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/gallery/views/admin_advanced_settings.html.php b/modules/gallery/views/admin_advanced_settings.html.php index d4f646f8..8d21d890 100644 --- a/modules/gallery/views/admin_advanced_settings.html.php +++ b/modules/gallery/views/admin_advanced_settings.html.php @@ -43,9 +43,9 @@ var filter = $(this).attr("value"); if (filter) { $("tr.setting-row").fadeOut("fast"); - $("tr.setting-row td:contains(" + filter + "), tr.setting-row td a:contains(" + filter + ")").each(function() { - if ($(this).children().length < 1) { - $(this).closest("tr").stop().show(); + $("tr.setting-row").each(function() { + if ($(this).text().indexOf(filter) > 0) { + $(this).stop().show(); } }); } else { |