Fix option typo

This commit is contained in:
Brian Miyaji
2014-03-28 01:51:14 +11:00
parent 7e6b4adb9b
commit df1ac2b086
2 changed files with 2 additions and 3 deletions

View File

@@ -185,7 +185,6 @@ class SP_Settings_General extends SP_Settings_Page {
if ( empty( $colors['text'] ) ) $colors['text'] = '#ffffff';
if ( empty( $colors['background'] ) ) $colors['background'] = '#3a3a3a';
if ( empty( $colors['alternate'] ) ) $colors['alternate'] = '#494949';
if ( empty( $colors['alternatea'] ) ) $colors['alternatea'] = '#494949';
// Show inputs
$this->color_picker( __( 'Primary', 'sportspress' ), 'sportspress_frontend_css_primary', $colors['primary'] );

View File

@@ -83,8 +83,8 @@ class SP_Frontend_Scripts {
if ( isset( $colors['background'] ) )
echo '.sp-data-table tbody,.sp-calendar tbody{background: ' . $colors['background'] . ' !important}';
if ( isset( $colors['alternatea'] ) )
echo '.sp-data-table tbody tr.odd,.sp-data-table tbody tr.alternate,.sp-calendar tbody td#today{background: ' . $colors['alternatea'] . ' !important}';
if ( isset( $colors['alternate'] ) )
echo '.sp-data-table tbody tr.odd,.sp-data-table tbody tr.alternate,.sp-calendar tbody td#today{background: ' . $colors['alternate'] . ' !important}';
echo '</style>';
}