diff --git a/static/quiz_item.coffee b/static/quiz_item.coffee index 16ea5c7..a72bb3d 100644 --- a/static/quiz_item.coffee +++ b/static/quiz_item.coffee @@ -82,6 +82,7 @@ filterQuestions = () -> $('#filter-form').submit( (e) -> e.preventDefault() + $('#error-area').hide() filterQuestions() $('#modal-filter').modal('hide') linearCount = 0 diff --git a/static/quiz_item.js b/static/quiz_item.js index 5e607dd..4a9d8c1 100644 --- a/static/quiz_item.js +++ b/static/quiz_item.js @@ -127,6 +127,7 @@ $('#filter-form').submit(function(e) { e.preventDefault(); + $('#error-area').hide(); filterQuestions(); $('#modal-filter').modal('hide'); return linearCount = 0;