This adds the current year to the title for volunteer hours.

This commit is contained in:
Jonathan Rosenbaum
2017-07-18 04:40:01 +00:00
parent 9d07e9a740
commit f782cb90fc
+3 -2
View File
@@ -703,8 +703,9 @@ $(function() {
obj.email + "\r\n" +
obj.phone + "\r\n" +
"volunteer hours for last 365 day: " + obj.volunteer_hours + "\r\n" +
"volunteer hours redeemed " + "\r\n" +
"volunteer hours remaining";
"volunteer hours for " + d.getFullYear() + ":\r\n" +
"volunteer hours redeemed: " + "\r\n" +
"volunteer hours remaining:";
$("#volunteer_hours").prop("title","").empty();