diff --git a/opentech/static_src/src/javascript/apply/edit-comment.js b/opentech/static_src/src/javascript/apply/edit-comment.js index 938a388b7a9a85b1a88233d38071fc8c990ba3d9..5e197f28aa536490b153264a8d4a766aff3c54bf 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(); } });