Revert to updating total value instead of placeholder

This commit is contained in:
Brian Miyaji
2014-02-22 15:45:20 +11:00
parent e41950e907
commit aab4c9af81
2 changed files with 1 additions and 3 deletions

View File

@@ -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

View File

@@ -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.