From 71fa14d39853363fa301a4223de0974885d3eec6 Mon Sep 17 00:00:00 2001 From: Takumi Date: Tue, 30 Jul 2013 16:01:09 +1000 Subject: [PATCH] Change sp-stats-table to sp-data-table for consistency --- helpers.php | 2 +- sportspress-admin.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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')); })