diff --git a/js/server_synchronize.js b/js/server_synchronize.js index e8e626bf2..6aa0a3760 100644 --- a/js/server_synchronize.js +++ b/js/server_synchronize.js @@ -5,6 +5,6 @@ */ $(document).ready(function() { $('.server_selector').change(function() { - $(this).parent().parent().parent().children('.toggler').toggle(); + $(this).closest('tbody').children('.toggler').toggle(); }); });