mirror of
https://github.com/gamaio/UnPS-Short.git
synced 2024-11-14 12:57:26 +00:00
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:
parent
cd2cb535d8
commit
9a3d013be1
@ -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');
|
||||
});
|
||||
|
@ -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');
|
||||
|
Loading…
Reference in New Issue
Block a user