diff --git a/helpers.php b/helpers.php index 687c97bb..e7c6c275 100644 --- a/helpers.php +++ b/helpers.php @@ -181,7 +181,7 @@ if ( ! function_exists( 'sp_data_table' ) ) { if ( !is_array( $data ) ) $data = array(); ?> - +
diff --git a/sportspress-admin.js b/sportspress-admin.js index 894ae6c6..c1a65b15 100644 --- a/sportspress-admin.js +++ b/sportspress-admin.js @@ -21,7 +21,7 @@ jQuery(document).ready(function($){ $('.sp-tab-panel').siblings('.sp-tab-select').find('select').change(); // Stats table checkboxes - $('.sp-stats-table tr input[type=checkbox]').change(function() { + $('.sp-data-table tr input[type=checkbox]').change(function() { $(this).closest('tr').find('input[type=text], input[type=number]').prop('readonly', $(this).prop('checked')); })