Merge branch 'master' of https://github.com/ThemeBoy/SportsPress
This commit is contained in:
@@ -258,7 +258,7 @@ jQuery(document).ready(function($){
|
||||
});
|
||||
|
||||
// Activate total stats calculator
|
||||
if($(".sp-data-table .sp-total").size()) {
|
||||
if($(".sp-data-table .sp-total").length) {
|
||||
$(".sp-data-table .sp-post td input").on("keyup", function() {
|
||||
$(this).closest(".sp-data-table").find(".sp-total td").eq($(this).parent().index()).find("input[data-sp-format=number][data-sp-total-type!=average]").trigger("updateTotal");
|
||||
});
|
||||
|
||||
@@ -1580,6 +1580,7 @@ function sp_get_text_options() {
|
||||
__( 'Full Time', 'sportspress' ),
|
||||
__( 'Home', 'sportspress' ),
|
||||
__( 'League', 'sportspress' ),
|
||||
__( 'Leagues', 'sportspress' ),
|
||||
__( 'League Table', 'sportspress' ),
|
||||
__( 'Match Day', 'sportspress' ),
|
||||
__( 'Nationality', 'sportspress' ),
|
||||
@@ -1599,6 +1600,7 @@ function sp_get_text_options() {
|
||||
__( 'Recap', 'sportspress' ),
|
||||
__( 'Results', 'sportspress' ),
|
||||
__( 'Season', 'sportspress' ),
|
||||
__( 'Seasons', 'sportspress' ),
|
||||
__( 'Staff', 'sportspress' ),
|
||||
__( 'Statistics', 'sportspress' ),
|
||||
__( 'TBD', 'sportspress' ),
|
||||
|
||||
Reference in New Issue
Block a user