mirror of
				https://github.com/zulip/zulip-desktop.git
				synced 2025-11-03 21:43:18 +00:00 
			
		
		
		
	codebase: Fix a typo.
This commit is contained in:
		@@ -231,11 +231,11 @@ class ServerManagerView {
 | 
			
		||||
				contextMenu.popup({ window: remote.getCurrentWindow() });
 | 
			
		||||
			});
 | 
			
		||||
			if ($serverImg.src.includes('img/icon.png')) {
 | 
			
		||||
				this.displayInitalCharLogo($serverImg);
 | 
			
		||||
				this.displayInitialCharLogo($serverImg);
 | 
			
		||||
			}
 | 
			
		||||
 | 
			
		||||
			$serverImg.addEventListener('error', () => {
 | 
			
		||||
				this.displayInitalCharLogo($serverImg);
 | 
			
		||||
				this.displayInitialCharLogo($serverImg);
 | 
			
		||||
			});
 | 
			
		||||
		});
 | 
			
		||||
	}
 | 
			
		||||
@@ -276,7 +276,7 @@ class ServerManagerView {
 | 
			
		||||
		return currentIndex;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	displayInitalCharLogo($img) {
 | 
			
		||||
	displayInitialCharLogo($img) {
 | 
			
		||||
		const $altIcon = document.createElement('div');
 | 
			
		||||
		const $parent = $img.parentElement;
 | 
			
		||||
		const $container = $parent.parentElement;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user