From c214c48a3d4c1e6829afab6edff3a06d350981a7 Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Wed, 2 Aug 2017 22:07:03 +0000 Subject: [PATCH] Adds an additional check for Stand Time or nothing else works. --- js/transaction.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/transaction.js b/js/transaction.js index 146ede4..295171d 100644 --- a/js/transaction.js +++ b/js/transaction.js @@ -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"); }