Fix JS error in box score icons mode
This commit is contained in:
@@ -26,7 +26,7 @@ if ( ! isset( $subs ) ) $subs = array();
|
|||||||
<h4 class="sp-table-caption"><?php echo $caption; ?></h4>
|
<h4 class="sp-table-caption"><?php echo $caption; ?></h4>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<div class="sp-table-wrapper">
|
<div class="sp-table-wrapper">
|
||||||
<table class="sp-event-performance sp-data-table<?php if ( $scrollable ) { ?> sp-scrollable-table<?php } ?><?php if ( $sortable ) { ?> sp-sortable-table<?php } ?>">
|
<table class="sp-event-performance sp-data-table<?php if ( $mode == 'values' ) { ?><?php if ( $scrollable ) { ?> sp-scrollable-table<?php } ?><?php if ( $sortable ) { ?> sp-sortable-table<?php } ?><?php } ?>">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<?php if ( $mode == 'values' ): ?>
|
<?php if ( $mode == 'values' ): ?>
|
||||||
@@ -45,12 +45,6 @@ if ( ! isset( $subs ) ) $subs = array();
|
|||||||
<?php foreach ( $labels as $key => $label ): ?>
|
<?php foreach ( $labels as $key => $label ): ?>
|
||||||
<th class="data-<?php echo $key; ?>"><?php echo $label; ?></th>
|
<th class="data-<?php echo $key; ?>"><?php echo $label; ?></th>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
<?php else: ?>
|
|
||||||
<?php if ( apply_filters( 'sportspress_event_performance_show_numbers', $show_numbers, $section ) ): ?>
|
|
||||||
<th></th>
|
|
||||||
<?php endif; ?>
|
|
||||||
<th></th>
|
|
||||||
<th></th>
|
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|||||||
Reference in New Issue
Block a user