Add fade effect for messages

This will give all return messages a fade effect to not be as jarring
This commit is contained in:
Arctic Code 2013-08-26 09:31:19 -05:00
parent ba6e23a78c
commit e5b4fadb10

View File

@ -205,7 +205,7 @@
event.preventDefault(); event.preventDefault();
event.stopPropagation(); event.stopPropagation();
$.post("process.php?token=<?php echo $token; ?>", $(this).serialize(), function(data){ $.post("process.php?token=<?php echo $token; ?>", $(this).serialize(), function(data){
$("#message").html(data); $("#message").hide().html(data).fadeIn("slow");
}); });
}); });
</script> </script>