Fix Undo row timeout on Edit Comments screen, props caesarsgrunt, see #4529

git-svn-id: https://develop.svn.wordpress.org/trunk@12154 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-11-07 00:50:28 +00:00
parent 87a8ae176a
commit 78b67c6387
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -72,6 +72,9 @@ setCommentsList = function() {
return false;
});
if ( to )
window.clearTimeout(to);
to = window.setTimeout( function(){
$('#trashundo-' + id).fadeOut('slow', function(){ $(this).remove(); });
}, 7000 );