Change sp-stats-table to sp-data-table for consistency

This commit is contained in:
Takumi
2013-07-30 16:01:09 +10:00
parent f952304818
commit 71fa14d398
2 changed files with 2 additions and 2 deletions

View File

@@ -181,7 +181,7 @@ if ( ! function_exists( 'sp_data_table' ) ) {
if ( !is_array( $data ) )
$data = array();
?>
<table class="widefat sp-stats-table">
<table class="widefat sp-data-table">
<thead>
<tr>
<?php foreach ( $columns as $column ): ?>

View File

@@ -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'));
})