Commit adcae0bc authored by Shakarim Sapa's avatar Shakarim Sapa

- Fix

parent b01b5b7f
......@@ -87,13 +87,14 @@ if ($cacheEmail!==false && BlogBids::find()->where(['email' => $cacheEmail])->ex
if(response.success)
{
if(form.find('.send_secce').length > 0)
if(form.find('.message-box.send_secce').length > 0)
{
form.find('.send_secce').fadeIn('fast');
console.log('asd');
form.find('.message-box.send_secce').fadeIn('fast');
form.find('.content').css('visibility','hidden');
setTimeout(function(){
form.find('.send_secce').fadeOut('fast');
form.find('.message-box.send_secce').fadeOut('fast');
form.find('.content').css('visibility','visible');
}, 2000);
}
......@@ -122,10 +123,10 @@ if ($cacheEmail!==false && BlogBids::find()->where(['email' => $cacheEmail])->ex
errors = errors.concat(value);
});
if(form.find('.send_err').length > 0)
if(form.find('.message-box.send_err').length > 0)
{
form.find('.send_err').fadeIn('fast');
form.find('.send_err').html(errors[0]);
form.find('.message-box.send_err').fadeIn('fast');
form.find('.message-box.send_err').html(errors[0]);
}
dataLayer.push({
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment