Skip to content

Commit

Permalink
Fixed ocr and guide close button being disabled after saving a transc…
Browse files Browse the repository at this point in the history
…ription
  • Loading branch information
joshuastegmaier committed Aug 28, 2024
1 parent 1b89910 commit 67fd158
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions concordia/static/js/src/contribute.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 67fd158

Please sign in to comment.