Change sp-stats-table to sp-data-table for consistency
This commit is contained in:
@@ -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 ): ?>
|
||||
|
||||
@@ -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'));
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user