Bug #9232: Fix reversed logic
authorMichael M Slusarz <slusarz@curecanti.org>
Sat, 11 Sep 2010 16:46:05 +0000 (10:46 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Sat, 11 Sep 2010 17:05:53 +0000 (11:05 -0600)
kronolith/js/edit.js

index 0e14e81..1d94da9 100644 (file)
@@ -443,7 +443,7 @@ var KronolithEdit =
     // Converts a 12 hour based number to its 24 hour format
     convertTo24Hour: function(val, elt)
     {
-        if (KronolithVar.twentyFour) {
+        if (!KronolithVar.twentyFour) {
             if ($F(elt)) {
                 if (val != 12) {
                     val += 12;