Fix Undo row timeout on Edit Comments screen, props caesarsgrunt, see #4529
git-svn-id: http://svn.automattic.com/wordpress/trunk@12154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -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 );
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user