mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	ENH: Reduce Avatar Refresh Time
Change-Id: I9cc8582f2e2ea08860c501834f3a758d86773e4c
This commit is contained in:
		
							parent
							
								
									8bc581d662
								
							
						
					
					
						commit
						e80ecc045e
					
				
					 1 changed files with 8 additions and 1 deletions
				
			
		|  | @ -152,9 +152,16 @@ function SetLoginInfo( strAvatar, strName ) | |||
| { | ||||
| 	$("#Login1").hide(); | ||||
| 	 | ||||
| 	$("#UserAvatarIcon").prop("src",strAvatar); | ||||
| 	$("#UserName").text(strName); | ||||
| 	 | ||||
|     let OriginAvatar=$("#UserAvatarIcon").prop("src"); | ||||
| 	if(strAvatar!=OriginAvatar) | ||||
| 		$("#UserAvatarIcon").prop("src",strAvatar); | ||||
| 	else | ||||
| 	{ | ||||
| 		//alert('Avatar is Same');
 | ||||
| 	} | ||||
| 	 | ||||
| 	$("#Login2").show(); | ||||
| 	$("#Login2").css("display","flex"); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 zorro.zhang
						zorro.zhang