From c35878845970010dac9ab85d1f78817bebafdd3f Mon Sep 17 00:00:00 2001
From: Wolfgang Knopki <wolfgang.knopki@hft-stuttgart.de>
Date: Wed, 11 Dec 2019 11:56:58 +0100
Subject: [PATCH] reset script

---
 views/reset.pug | 16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/views/reset.pug b/views/reset.pug
index 42d23f06..d8f0e76e 100644
--- a/views/reset.pug
+++ b/views/reset.pug
@@ -79,12 +79,10 @@ html(lang="en")
                 $('#message').html('Not Matching').css('color', 'red');
                 isMatch = false;
             }
-    
-        // enable/disable update button
-        if (isBest && isMatch) {
-            $('#updateBtn').prop('disabled', false);
-        } else {
-            $('#updateBtn').prop('disabled', true);
-        }
-    });
-
+            // enable/disable update button
+            if (isBest && isMatch) {
+                $('#updateBtn').prop('disabled', false);
+            } else {
+                $('#updateBtn').prop('disabled', true);
+            }
+        });
\ No newline at end of file
-- 
GitLab