From 67fd1588ce19a6737ee64c1ed43abcf55455c3f7 Mon Sep 17 00:00:00 2001 From: joshuastegmaier Date: Wed, 28 Aug 2024 11:19:27 -0400 Subject: [PATCH] Fixed ocr and guide close button being disabled after saving a transcription --- concordia/static/js/src/contribute.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/concordia/static/js/src/contribute.js b/concordia/static/js/src/contribute.js index 2403045ea..03a429a22 100644 --- a/concordia/static/js/src/contribute.js +++ b/concordia/static/js/src/contribute.js @@ -27,6 +27,8 @@ function unlockControls($container) { // results handlers. // The only buttons unlocked here are ones that should always be unlocked. $container.find('button#open-guide').removeAttr('disabled'); + $container.find('button#ocr-transcription-button').removeAttr('disabled'); + $container.find('button#close-guide').removeAttr('disabled'); } $(document).on('keydown', function (event) {