Index: src/wp-admin/js/edit-comments.js
===================================================================
--- src/wp-admin/js/edit-comments.js	(revision 36611)
+++ src/wp-admin/js/edit-comments.js	(working copy)
@@ -286,6 +286,7 @@
 
 			a.click(function( e ){
 				e.preventDefault();
+				e.stopPropagation(); // ticket #35904
 				list.wpList.del(this);
 				$('#undo-' + id).css( {backgroundColor:'#ceb'} ).fadeOut(350, function(){
 					$(this).remove();
@@ -313,7 +314,8 @@
 			approved = commentRow.hasClass( 'approved' ),
 			unapproved = commentRow.hasClass( 'unapproved' ),
 			spammed = commentRow.hasClass( 'spam' ),
-			trashed = commentRow.hasClass( 'trash' );
+			trashed = commentRow.hasClass( 'trash' ),
+			undoing = false; // ticket #35904
 
 		updateDashboardText( newTotal );
 
@@ -347,6 +349,8 @@
 				}
 			}
 
+			undoing = true;
+
 		// user clicked "Spam"
 		} else if ( targetParent.is( 'span.spam' ) ) {
 			// the comment is currently approved
@@ -481,7 +485,7 @@
 			}
 		}
 
-		if ( ! theExtraList || theExtraList.length === 0 || theExtraList.children().length === 0 ) {
+		if ( ! theExtraList || theExtraList.length === 0 || theExtraList.children().length === 0 || undoing ) {
 			return;
 		}
 
