1
0
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:
Jonathan Rosenbaum 2017-08-02 22:07:03 +00:00
parent 2508653fef
commit c214c48a3d

View File

@ -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");
} }