From 54eeb5ab1d9d0efab7fe4150d97dac3af980c9f2 Mon Sep 17 00:00:00 2001 From: Chris Lawton <chris.lawton@torchbox.com> Date: Mon, 13 May 2019 10:27:30 +0100 Subject: [PATCH] add missing selector --- opentech/static_src/src/javascript/apply/edit-comment.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentech/static_src/src/javascript/apply/edit-comment.js b/opentech/static_src/src/javascript/apply/edit-comment.js index 938a388b7..5e197f28a 100644 --- a/opentech/static_src/src/javascript/apply/edit-comment.js +++ b/opentech/static_src/src/javascript/apply/edit-comment.js @@ -51,7 +51,7 @@ showComment(this); showEditButton(this); hidePageDownEditor(this); - if ((commentError).length) { + if ($(commentError).length) { hideError(); } }); -- GitLab