mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-23 09:13:23 -05:00
Adds an additional check for Stand Time or nothing else works.
This commit is contained in:
parent
2508653fef
commit
c214c48a3d
@ -920,9 +920,9 @@ $(function() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($("#stand_time_total").is(":empty")) {
|
if ($("#trans_type_info").text() === "Stand Time" && $("#stand_time_total").is(":empty")) {
|
||||||
$("#redeemable_hours").spinner("disable");
|
$("#redeemable_hours").spinner("disable");
|
||||||
} else {
|
} else if ($("#trans_type_info").text() === "Stand Time") {
|
||||||
$("#redeemable_hours").spinner("enable");
|
$("#redeemable_hours").spinner("enable");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user