From 49962de3f74c850849493f1254d93013b306f397 Mon Sep 17 00:00:00 2001 From: Ross Date: Sat, 30 Oct 2021 23:19:29 +0100 Subject: [PATCH] . --- rapids/templates/rapids/rapid_form.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rapids/templates/rapids/rapid_form.html b/rapids/templates/rapids/rapid_form.html index faf4fac7..aeb63034 100755 --- a/rapids/templates/rapids/rapid_form.html +++ b/rapids/templates/rapids/rapid_form.html @@ -51,8 +51,7 @@ ocr(evt.target); // Check if we have selected a examination type - console.log($("#id_examination_from").val()) - if (!$("#id_examination_to option")) { + if (!$("#id_examination_to option").length) { var reader = new FileReader(); reader.onload = function (file) {