Commit 97b60eabb731d57aeae4d50ceb514b8c1a518bc8

Authored by Anastasia
1 parent de8a577f

- comment form

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
frontend/web/js/script.js
... ... @@ -463,7 +463,7 @@ $(document).ready(function() {
463 463 $.post(
464 464 $(this).attr("action"), $(this).serialize(), function(data) {
465 465 document.getElementById(id).reset();
466   - form.find('.submit-close-c-a').click();
  466 + form.find('.submit-close-c-a span').click();
467 467 $(".add-answer-forms").after("<p class='success-message'>"+data.message+"</p>");
468 468 var dat = form.data('yiiActiveForm');
469 469 dat.validate = false;
... ...