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
+2 -2
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");
} else {
} else if ($("#trans_type_info").text() === "Stand Time") {
$("#redeemable_hours").spinner("enable");
}