mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2026-09-03 10:21:38 -04:00
Tests if volunteer_hours exists.
This commit is contained in:
+1
-1
@@ -711,7 +711,7 @@ $(function() {
|
||||
|
||||
if (obj) {
|
||||
var volunteer_hours = obj.volunteer_hours;
|
||||
if (volunteer_hours.length) {
|
||||
if (volunteer_hours && volunteer_hours.length) {
|
||||
$("#volunteer_hours").prop("title",title).html("Volunteer Hours");
|
||||
} else {
|
||||
$("#volunteer_hours").prop("title","").empty();
|
||||
|
||||
Reference in New Issue
Block a user