mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 10:21:38 -04:00
Some experimentation making sure the spinner is working.
* Need to improve the css * Need to link everything togther, the fun part!
This commit is contained in:
+11
-2
@@ -713,15 +713,24 @@ $(function() {
|
||||
"Volunteer Hours Redeemed: " + "\r\n" +
|
||||
"Volunteer Hours Remaining:";
|
||||
|
||||
$("#volunteer_hours").prop("title","").empty();
|
||||
$("#volunteer_hours").prop("title","").empty();
|
||||
$("#redeemable_hours").hide();
|
||||
|
||||
if (obj) {
|
||||
var volunteer_hours = obj.volunteer_hours;
|
||||
if (volunteer_hours && volunteer_hours.length) {
|
||||
$("#volunteer_hours").prop("title",title).html("Volunteer Hours");
|
||||
|
||||
|
||||
$( "#redeemable_hours" ).spinner({
|
||||
step: 0.10,
|
||||
numberFormat: "n"
|
||||
}).show();
|
||||
|
||||
//$("#redeemable_hours").html(obj.redeemable_hours);
|
||||
} else {
|
||||
$("#volunteer_hours").prop("title","").empty();
|
||||
|
||||
$("#redeemable_hours").hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user