comments collapsing on page update
This commit is contained in:
		
							
								
								
									
										2
									
								
								boot.php
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								boot.php
									
									
									
									
									
								
							| @@ -9,7 +9,7 @@ require_once('include/nav.php'); | ||||
| require_once('include/cache.php'); | ||||
|  | ||||
| define ( 'FRIENDICA_PLATFORM',     'Friendica'); | ||||
| define ( 'FRIENDICA_VERSION',      '2.3.1174' ); | ||||
| define ( 'FRIENDICA_VERSION',      '2.3.1175' ); | ||||
| define ( 'DFRN_PROTOCOL_VERSION',  '2.22'    ); | ||||
| define ( 'DB_UPDATE_VERSION',      1105      ); | ||||
|  | ||||
|   | ||||
							
								
								
									
										18
									
								
								js/main.js
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								js/main.js
									
									
									
									
									
								
							| @@ -224,15 +224,15 @@ | ||||
|  | ||||
| 		$.get(update_url,function(data) { | ||||
| 			in_progress = false; | ||||
| 			$('.collapsed-comments',data).each(function() { | ||||
| 				var ident = $(this).attr('id'); | ||||
| 				var is_hidden = $('#' + ident).is(':hidden'); | ||||
| 				if($('#' + ident).length) { | ||||
| 					$('#' + ident).replaceWith($(this)); | ||||
| 					if(is_hidden) | ||||
| 						$('#' + ident).hide(); | ||||
| 				} | ||||
| 			}); | ||||
| 			//			$('.collapsed-comments',data).each(function() { | ||||
| 			//	var ident = $(this).attr('id'); | ||||
| 			//	var is_hidden = $('#' + ident).is(':hidden'); | ||||
| 			//	if($('#' + ident).length) { | ||||
| 			//		$('#' + ident).replaceWith($(this)); | ||||
| 			//		if(is_hidden) | ||||
| 			//			$('#' + ident).hide(); | ||||
| 			//	} | ||||
| 			//}); | ||||
| 			$('.wall-item-outside-wrapper',data).each(function() { | ||||
| 				var ident = $(this).attr('id'); | ||||
| 				if($('#' + ident).length == 0) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user