diff --git a/vendor/built_in_modules/ask/app/views/panel/ask/front_end/ask_questions/create.js.erb b/vendor/built_in_modules/ask/app/views/panel/ask/front_end/ask_questions/create.js.erb index 9570bf0a4..9bb7aee69 100644 --- a/vendor/built_in_modules/ask/app/views/panel/ask/front_end/ask_questions/create.js.erb +++ b/vendor/built_in_modules/ask/app/views/panel/ask/front_end/ask_questions/create.js.erb @@ -1,6 +1,10 @@ <% if @ask_question.errors.empty? %> - $('#acknowledgement').html('<%= j simple_format(@ask_acknowledgement.content) %>'); $('html,body').scrollTop(0); + $('#acknowledgement') + .html('<%= j simple_format(@ask_acknowledgement.content) %>') + .fadeIn(600) + .delay(3000) + .fadeOut(600); <% else %> alert('<%= @ask_question.errors.full_messages.join('\n') %>'); Recaptcha.reload()