leaner jQuery way

This commit is contained in:
Marc Delisle
2010-04-02 18:02:08 -04:00
parent 85ca96cb9d
commit f32e8001e2

View File

@@ -5,6 +5,6 @@
*/
$(document).ready(function() {
$('.server_selector').change(function() {
$(this).parent().parent().parent().children('.toggler').toggle();
$(this).closest('tbody').children('.toggler').toggle();
});
});