Revert to updating total value instead of placeholder
This commit is contained in:
@@ -159,8 +159,7 @@ jQuery(document).ready(function($){
|
||||
sum += parseInt(val, 10);
|
||||
}
|
||||
});
|
||||
if ($(this).attr("placeholder") != sum)
|
||||
$(this).attr("placeholder", sum);
|
||||
$(this).val(sum);
|
||||
});
|
||||
|
||||
// Activate total stats calculator
|
||||
|
||||
@@ -152,7 +152,6 @@ SportsPress is currently in beta and is undergoing testing. We are still activel
|
||||
* Feature - Add hover action on league table team names to edit display name.
|
||||
* Refactor - Remove min and max outcome options from column equation.
|
||||
* Refactor - Change Rounding precision to default to 0.
|
||||
* Tweak - Set player statistic totals to update placeholder instead of actual value in events.
|
||||
* Tweak - Used jQuery Chosen for inputs where useful.
|
||||
* Tweak - Prepend plugin name to widget titles.
|
||||
* Tweak - Highlight settings in admin menu when adding new config post type.
|
||||
|
||||
Reference in New Issue
Block a user