Speed up the fade transition on the status box

While it looks kinda nice, some people might not apprecieate that it
takes so much time for the page to pop up and it looks like the page
froze or something.
This commit is contained in:
Arctic Code 2013-10-08 17:50:40 -05:00
parent cd2cb535d8
commit 9a3d013be1
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ jQuery(document).ready(function(){
$("#report-details").slideUp("fast");
$('#link').focus();
$('#error').fadeIn("slow");
$('#error').fadeIn("fast");
$('textarea').autoResize();
$('#shortlab').addClass('fbtn');
});

View File

@ -106,7 +106,7 @@
event.preventDefault();
event.stopPropagation();
$.post("process.php?token=<?php echo $token; ?>", $(this).serialize(), function(data){
$("#message").hide().html(data).fadeIn("slow");
$("#message").hide().html(data).fadeIn("fast");
if($('#error').length){
$('#short-button').removeClass('btn-primary');
$('#short-button').removeClass('btn-success');