mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	fix: settings and info not appearing (#507)
Query the right element to get the info div
This commit is contained in:
		
							parent
							
								
									fa9049c7b2
								
							
						
					
					
						commit
						641af3be13
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		|  | @ -73,10 +73,7 @@ sleep(5000).then(async () => { | |||
| 
 | ||||
| // Settings info version injection
 | ||||
| setInterval(() => { | ||||
|     // @ts-expect-error
 | ||||
|     const host = [...document.querySelectorAll('[class*="sidebar"] [class*="info"] [class*="line"]')].find((x) => | ||||
|         x.textContent.startsWith("Host ") | ||||
|     ); | ||||
|     const host = document.querySelector('[class*="sidebar"] [class*="info"]'); | ||||
|     if (!host || host.querySelector("#ac-ver")) { | ||||
|         return; | ||||
|     } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue