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
1 changed files with 1 additions and 1 deletions

View File

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