Fix responsive league table behavior

This commit is contained in:
Brian Miyaji
2014-03-22 13:57:53 +11:00
parent e0b3571c68
commit 1b6d483b96
3 changed files with 3 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ if ( !function_exists( 'sportspress_league_table' ) ) {
if ( ! is_array( $columns ) )
$columns = explode( ',', $columns );
$output .= '<th class="data-number">' . __( 'Pos', 'sportspress' ) . '</th>';
$output .= '<th class="data-rank">' . __( 'Pos', 'sportspress' ) . '</th>';
foreach( $labels as $key => $label ):
if ( ! is_array( $columns ) || $key == 'name' || in_array( $key, $columns ) )