mirror of
				https://github.com/smartfrigde/armcord.git
				synced 2024-08-14 23:56:58 +00:00 
			
		
		
		
	fix: ping counter in page title
This commit is contained in:
		
							parent
							
								
									dbad3ecb0b
								
							
						
					
					
						commit
						052ef80e06
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -183,7 +183,7 @@ async function doAfterDefiningTheWindow(): Promise<void> { | ||||||
|             if (!title.endsWith(armCordSuffix)) { |             if (!title.endsWith(armCordSuffix)) { | ||||||
|                 e.preventDefault(); |                 e.preventDefault(); | ||||||
|                 await mainWindow.webContents.executeJavaScript( |                 await mainWindow.webContents.executeJavaScript( | ||||||
|                     `document.title = '${(title.split(" | ")[1] ?? title) + armCordSuffix}'` |                     `document.title = '${title.replace("Discord |", "") + armCordSuffix}'` | ||||||
|                 ); |                 ); | ||||||
|             } |             } | ||||||
|         }); |         }); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue